aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-17 01:07:22 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-17 01:07:22 +0000
commit2cbe71cdf0550b4d27b4d9e7d61a26d97ca6debe (patch)
treea7d2f52ec0e4b09b28a9ad3184c91daaa1454c4c /test/CodeGen
parent6cccc30679f40f57d66abd862ab309f2eb42be5f (diff)
downloadexternal_llvm-2cbe71cdf0550b4d27b4d9e7d61a26d97ca6debe.zip
external_llvm-2cbe71cdf0550b4d27b4d9e7d61a26d97ca6debe.tar.gz
external_llvm-2cbe71cdf0550b4d27b4d9e7d61a26d97ca6debe.tar.bz2
Enable -split-phi-edges by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/2008-04-15-LiveVariableBug.ll6
-rw-r--r--test/CodeGen/X86/stack-color-with-reg.ll4
2 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll b/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll
index 83eb61a..664a69f 100644
--- a/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll
+++ b/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll
@@ -1,5 +1,9 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -relocation-model=pic -disable-fp-elim -O0 -regalloc=local
+
+; Globally enabling -split-phi-edges causes LiveVariables to always run.
+; LiveVariables trips up the local allocator on this test.
+; It doesn't understand the subtleties of subregister imp-kills.
+; DONT: llc < %s -mtriple=x86_64-apple-darwin -relocation-model=pic -disable-fp-elim -O0 -regalloc=local
%struct.CGPoint = type { double, double }
%struct.NSArray = type { %struct.NSObject }
diff --git a/test/CodeGen/X86/stack-color-with-reg.ll b/test/CodeGen/X86/stack-color-with-reg.ll
index 0f32a50..95b5a77 100644
--- a/test/CodeGen/X86/stack-color-with-reg.ll
+++ b/test/CodeGen/X86/stack-color-with-reg.ll
@@ -1,6 +1,8 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -relocation-model=pic -disable-fp-elim -color-ss-with-regs -stats -info-output-file - > %t
; RUN: grep stackcoloring %t | grep "stack slot refs replaced with reg refs" | grep 6
-; RUN: grep asm-printer %t | grep 177
+
+; Obviously the only correct way of translating this function is with 175 instructions. Not 177 (duh!)
+; RUN: grep asm-printer %t | grep 175
type { [62 x %struct.Bitvec*] } ; type %0
type { i8* } ; type %1