Enable -split-phi-edges by default, except when -regalloc=local.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 17 Nov 2009 19:15:50 +0000 (19:15 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 17 Nov 2009 19:15:50 +0000 (19:15 +0000)
commit95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68
tree77eebaff9be7b5a03ed46f3738b5df9c4f683e50
parent464ecfee71e33f3a00b42da1ba7838a6852c95fb
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
lib/CodeGen/PHIElimination.cpp
test/CodeGen/X86/2008-04-15-LiveVariableBug.ll
test/CodeGen/X86/stack-color-with-reg.ll