Model stacksave and stackrestore as both writing memory, since we
authorChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2007 05:47:52 +0000 (05:47 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Oct 2007 05:47:52 +0000 (05:47 +0000)
commitcee291c505fb119c15f111225f62a8275548bb6c
tree038bd7bd5ac6042e129cbf6d3e1c8d43614d4cd5
parent08895f886655d7d8368d2fdb513dcc963b681a74
Model stacksave and stackrestore as both writing memory, since we
don't model their dependences on allocas correctly.  This fixes
PR1745.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43442 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Intrinsics.td
test/Transforms/InstCombine/2007-10-28-stacksave.ll [new file with mode: 0644]