diff options
author | Dale Johannesen <dalej@apple.com> | 2008-09-24 23:13:09 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-09-24 23:13:09 +0000 |
commit | 8e3455ba1734a64dc5a6884d4a5218d436da54e2 (patch) | |
tree | 1a44b153efada52a31d134f0a22fe3e637999c22 /test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll | |
parent | b7679bd0cb45b020f8c6288fdc094808db657e9b (diff) | |
download | external_llvm-8e3455ba1734a64dc5a6884d4a5218d436da54e2.zip external_llvm-8e3455ba1734a64dc5a6884d4a5218d436da54e2.tar.gz external_llvm-8e3455ba1734a64dc5a6884d4a5218d436da54e2.tar.bz2 |
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.ll | 7 |
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 f43b87c..2466f4f 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 |