summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-02 02:08:02 +0000
committerDale Johannesen <dalej@apple.com>2010-02-02 02:08:02 +0000
commit5ce0ee9c099deb18d432c665d74634b0373071c7 (patch)
tree8693382f3997cf49bba2c26f0e75c46fb81d7e87 /test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
parent44eedb980536b91adb6c2add0ba4a02d16041d20 (diff)
downloadllvm-5ce0ee9c099deb18d432c665d74634b0373071c7.tar.gz
llvm-5ce0ee9c099deb18d432c665d74634b0373071c7.tar.bz2
llvm-5ce0ee9c099deb18d432c665d74634b0373071c7.tar.xz
Make local RA smarter about reusing input register of a copy
as output. Needed for (functional) correctness in inline asm, and should be generally beneficial. 7361612. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll')
-rw-r--r--test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll b/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
index c4ed1663a4..d1d28ae15b 100644
--- a/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
+++ b/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s | grep {subfc r3,r5,r4}
; RUN: llc < %s | grep {subfze r4,r2}
-; RUN: llc < %s -regalloc=local | grep {subfc r5,r4,r3}
-; RUN: llc < %s -regalloc=local | grep {subfze r2,r2}
+; RUN: llc < %s -regalloc=local | grep {subfc r2,r5,r4}
+; RUN: llc < %s -regalloc=local | grep {subfze r3,r3}
; The first argument of subfc must not be the same as any other register.
; PR1357