diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-17 19:15:50 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-17 19:15:50 +0000 |
commit | 95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68 (patch) | |
tree | 77eebaff9be7b5a03ed46f3738b5df9c4f683e50 /test | |
parent | 464ecfee71e33f3a00b42da1ba7838a6852c95fb (diff) | |
download | external_llvm-95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68.zip external_llvm-95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68.tar.gz external_llvm-95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68.tar.bz2 |
Enable -split-phi-edges by default, except when -regalloc=local.
The local register allocator doesn't like it when LiveVariables is run.
We should also disable edge splitting under -O0, but that has to wait a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/2008-04-15-LiveVariableBug.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/X86/stack-color-with-reg.ll | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll b/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll index 83eb61a..2aea9c5 100644 --- a/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll +++ b/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll @@ -1,5 +1,6 @@ ; 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 +; PR5534 %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..61cff05 100644 --- a/test/CodeGen/X86/stack-color-with-reg.ll +++ b/test/CodeGen/X86/stack-color-with-reg.ll @@ -1,6 +1,6 @@ ; 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 +; RUN: grep asm-printer %t | grep 175 type { [62 x %struct.Bitvec*] } ; type %0 type { i8* } ; type %1 |