diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-06-23 18:16:24 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-06-23 18:16:24 +0000 |
commit | 151d26d15dc6fe89329d7cccb0638c324c58f485 (patch) | |
tree | 764b8ff9ff31a04604b9b8a8d3ad72a37ef97854 /test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll | |
parent | 238e73f9010e17e2f65c39d238971b30e346fbbd (diff) | |
download | llvm-151d26d15dc6fe89329d7cccb0638c324c58f485.tar.gz llvm-151d26d15dc6fe89329d7cccb0638c324c58f485.tar.bz2 llvm-151d26d15dc6fe89329d7cccb0638c324c58f485.tar.xz |
MorphNodeTo doesn't preserve the memory operands. Because we're morphing a node
into the same node, but with different non-memory operands, we need to replace
the memory operands after it's finished morphing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106643 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll')
-rw-r--r-- | test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll b/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll index eb21dc234a..7325f4ae12 100644 --- a/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll +++ b/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll @@ -9,11 +9,11 @@ ; lowering of arguments potentially overwrites the value. ; ; Move return address (76(%esp)) to a temporary register (%ebp) -; CHECK: movl 76(%esp), %ebp +; CHECK: movl 76(%esp), [[REGISTER:%[a-z]+]] ; Overwrite return addresss -; CHECK: movl %ecx, 76(%esp) +; CHECK: movl %ebx, 76(%esp) ; Move return address from temporary register (%ebp) to new stack location (60(%esp)) -; CHECK: movl %ebp, 60(%esp) +; CHECK: movl [[REGISTER]], 60(%esp) %tupl_p = type [9 x i32]* |