mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 12:16:31 +00:00
Revert 89021. It's miscompiling llvm-gcc driver driver at -O0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d15ac2fce3
commit
9e97f3c2e2
@ -39,7 +39,7 @@ STATISTIC(NumSplits, "Number of critical edges split on demand");
|
|||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
SplitEdges("split-phi-edges",
|
SplitEdges("split-phi-edges",
|
||||||
cl::desc("Split critical edges during phi elimination"),
|
cl::desc("Split critical edges during phi elimination"),
|
||||||
cl::init(true), cl::Hidden);
|
cl::init(false), cl::Hidden);
|
||||||
|
|
||||||
char PHIElimination::ID = 0;
|
char PHIElimination::ID = 0;
|
||||||
static RegisterPass<PHIElimination>
|
static RegisterPass<PHIElimination>
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin
|
; 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.CGPoint = type { double, double }
|
||||||
%struct.NSArray = type { %struct.NSObject }
|
%struct.NSArray = type { %struct.NSObject }
|
||||||
|
@ -1,8 +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: 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 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 { [62 x %struct.Bitvec*] } ; type %0
|
||||||
type { i8* } ; type %1
|
type { i8* } ; type %1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user