diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-12 00:11:24 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-12 00:11:24 +0000 |
commit | e6e39dc31068f8bbec75eff75b65ddf64782df37 (patch) | |
tree | 719fa1e6f494e3119671a4d0da34e055d17f4912 /llvm/test/CodeGen/PowerPC | |
parent | f98a355f9b76771fbea1a88c7c2e76fda0b01eb3 (diff) | |
download | bcm5719-llvm-e6e39dc31068f8bbec75eff75b65ddf64782df37.tar.gz bcm5719-llvm-e6e39dc31068f8bbec75eff75b65ddf64782df37.zip |
Enable a bunch more -regalloc=fast tests
llvm-svn: 103531
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
5 files changed, 14 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll b/llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll index be28a9a4542..0a75f7a7770 100644 --- a/llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll +++ b/llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll @@ -1,9 +1,15 @@ -; RUN: llc < %s | grep {subfc r3,r5,r4} -; RUN: llc < %s | grep {subfze r4,r6} -; RUN: llc < %s -regalloc=local | grep {subfc r6,r5,r4} -; RUN: llc < %s -regalloc=local | grep {subfze r3,r3} +; RUN: llc < %s | FileCheck %s +; RUN: llc < %s -regalloc=local | FileCheck -check-prefix=LOCAL %s +; RUN: llc < %s -regalloc=fast | FileCheck -check-prefix=FAST %s ; The first argument of subfc must not be the same as any other register. +; CHECK: subfc r3,r5,r4 +; CHECK: subfze r4,r6 +; LOCAL: subfc r6,r5,r4 +; LOCAL: subfze r3,r3 +; FAST: subfc r9,r8,r7 +; FAST: subfze r10,r6 + ; PR1357 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64" diff --git a/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll b/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll index ee614782952..3cfe60301ec 100644 --- a/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll +++ b/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -mtriple=powerpc64-apple-darwin9 -regalloc=local -relocation-model=pic +; RUN: llc < %s -mtriple=powerpc64-apple-darwin9 -regalloc=fast -relocation-model=pic %struct.NSError = type opaque %struct.NSManagedObjectContext = type opaque diff --git a/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll b/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll index 5a07a9b7acf..8339a0b8790 100644 --- a/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll +++ b/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -mtriple=powerpc64-apple-darwin9 -regalloc=local -relocation-model=pic +; RUN: llc < %s -mtriple=powerpc64-apple-darwin9 -regalloc=fast -relocation-model=pic %struct.NSError = type opaque %struct.NSManagedObjectContext = type opaque diff --git a/llvm/test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll b/llvm/test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll index cfa1b10d32e..45dfdc842fd 100644 --- a/llvm/test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll +++ b/llvm/test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -mtriple=powerpc-apple-darwin -regalloc=local +; RUN: llc < %s -mtriple=powerpc-apple-darwin -regalloc=fast define i32 @bork(i64 %foo, i64 %bar) { entry: diff --git a/llvm/test/CodeGen/PowerPC/cr_spilling.ll b/llvm/test/CodeGen/PowerPC/cr_spilling.ll index b2158687361..9ed26149b77 100644 --- a/llvm/test/CodeGen/PowerPC/cr_spilling.ll +++ b/llvm/test/CodeGen/PowerPC/cr_spilling.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc32 -regalloc=local -O0 -relocation-model=pic -o - +; RUN: llc < %s -march=ppc32 -regalloc=fast -O0 -relocation-model=pic -o - ; PR1638 @.str242 = external constant [3 x i8] ; <[3 x i8]*> [#uses=1] |