Add Uses=[SP] to call instructions. This fixes a miscompilation with a
authorRichard Osborne <richard@xmos.com>
Wed, 24 Aug 2011 13:32:43 +0000 (13:32 +0000)
committerRichard Osborne <richard@xmos.com>
Wed, 24 Aug 2011 13:32:43 +0000 (13:32 +0000)
commit8f9c5cca4feb71471dda44d9ba39a0ca644ddd6e
tree2131bf8ff367cddba88d44f7ccd78f870f1c2581
parent13894fa135d33151072ddf5e80abe4540ec2afcd
Add Uses=[SP] to call instructions. This fixes a miscompilation with a
variable sized alloca.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreInstrInfo.td
test/CodeGen/XCore/2011-08-01-DynamicAllocBug.ll [new file with mode: 0644]