summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-09-24 23:13:09 +0000
committerDale Johannesen <dalej@apple.com>2008-09-24 23:13:09 +0000
commit8e3455ba1734a64dc5a6884d4a5218d436da54e2 (patch)
tree1a44b153efada52a31d134f0a22fe3e637999c22 /test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
parentb7679bd0cb45b020f8c6288fdc094808db657e9b (diff)
Remove SelectionDag early allocation of registers
for earlyclobbers. Teach Local RA about earlyclobber, and add some tests for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56592 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.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll b/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
index f43b87c76d6..2466f4fc8e9 100644
--- a/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
+++ b/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
@@ -1,5 +1,8 @@
-; RUN: llvm-as < %s | llc | grep {subfc r2,r5,r4}
-; RUN: llvm-as < %s | llc | grep {subfze r4,r3}
+; RUN: llvm-as < %s | llc | grep {subfc r3,r5,r4}
+; RUN: llvm-as < %s | llc | grep {subfze r4,r2}
+; RUN: llvm-as < %s | llc -regalloc=local | grep {subfc r5,r2,r4}
+; RUN: llvm-as < %s | llc -regalloc=local | grep {subfze r2,r3}
+; The first argument of subfc must not be the same as any other register.
; PR1357