From 8e3455ba1734a64dc5a6884d4a5218d436da54e2 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 24 Sep 2008 23:13:09 +0000 Subject: 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 --- test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll') 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 -- cgit v1.2.3