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 | fffff88a3c431dcec73dbeb26b890b601d4cc24a (patch) | |
tree | 3fa1597f18387ecf6363e2bf3ade42f3ba52134f /llvm/test/CodeGen | |
parent | d3612399c51c90a0758332454f2440cc101cb138 (diff) | |
download | bcm5719-llvm-fffff88a3c431dcec73dbeb26b890b601d4cc24a.tar.gz bcm5719-llvm-fffff88a3c431dcec73dbeb26b890b601d4cc24a.zip |
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.
llvm-svn: 89125
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll | 1 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/stack-color-with-reg.ll | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll b/llvm/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll index 83eb61aed43..2aea9c5ebcc 100644 --- a/llvm/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll +++ b/llvm/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/llvm/test/CodeGen/X86/stack-color-with-reg.ll b/llvm/test/CodeGen/X86/stack-color-with-reg.ll index 0f32a50fc5b..61cff05a023 100644 --- a/llvm/test/CodeGen/X86/stack-color-with-reg.ll +++ b/llvm/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 |