- Nov 14, 2009
-
-
Dan Gohman authored
llvm-svn: 88742
-
Evan Cheng authored
llvm-svn: 88738
-
Dan Gohman authored
llvm-svn: 88737
-
Evan Cheng authored
llvm-svn: 88734
-
Jakob Stoklund Olesen authored
When splitting an edge after a machine basic block with fall-through, we forgot to insert a jump instruction. Fix this by calling updateTerminator() on the fall-through block when relevant. Also be more precise in PHIElimination::isLiveIn. llvm-svn: 88728
-
Jakob Stoklund Olesen authored
llvm-svn: 88727
-
Lang Hames authored
PreAllocSplitting is now using this API to insert code. llvm-svn: 88725
-
Evan Cheng authored
llvm-svn: 88719
-
Eric Christopher authored
llvm-svn: 88716
-
Eric Christopher authored
got ghost linkage. It's better than aborting. llvm-svn: 88715
-
- Nov 13, 2009
-
-
Jakob Stoklund Olesen authored
The BasicBlock associated with a MachineBasicBlock does not necessarily correspond to the code in the MBB. Don't insert a new IR BasicBlock when splitting critical edges. We are not supposed to modify the IR during codegen, and we should be able to do just fine with a NULL BB. llvm-svn: 88707
-
Jakob Stoklund Olesen authored
llvm-svn: 88706
-
Jakob Stoklund Olesen authored
llvm-svn: 88705
-
Jakob Stoklund Olesen authored
llvm-svn: 88704
-
Dan Gohman authored
llvm-svn: 88703
-
David Greene authored
Move DebugInfo checks into EmitComments and remove them from target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
-
Dan Gohman authored
code-size win, and not when it's only likely to be code-size neutral, such as when only a single instruction would be eliminated and a new branch would be required. This fixes rdar://7392894. llvm-svn: 88692
-
Evan Cheng authored
D0<def,dead> = ... ... = S0<use, kill> S0<def> = ... ... D0<def> = The first D0 def is correctly marked dead, however, livevariables should have added an implicit def of S0 or we end up with a use without a def. llvm-svn: 88690
-
David Goodwin authored
llvm-svn: 88682
-
Bruno Cardoso Lopes authored
because the testcase is triggering one more bug. llvm-svn: 88674
-
Dan Gohman authored
llvm-svn: 88672
-
Rafael Espindola authored
"a" + 0. llvm-svn: 87084
-
Devang Patel authored
llvm-svn: 87070
-
Devang Patel authored
llvm-svn: 87069
-
Rafael Espindola authored
Switch to smallvector. Also fix issue with using unsigend for MaxSplit. llvm-svn: 87068
-
Dale Johannesen authored
PPC is such a target; make it work. llvm-svn: 87060
-
Victor Hernandez authored
llvm-svn: 87059
-
Rafael Espindola authored
llvm-svn: 87058
-
Jim Grosbach authored
llvm-svn: 87056
-
Jim Grosbach authored
llvm-svn: 87054
-
David Greene authored
Fix a bootstrap failure. Provide special isLoadFromStackSlotPostFE and isStoreToStackSlotPostFE interfaces to explicitly request checking for post-frame ptr elimination operands. This uses a heuristic so it isn't reliable for correctness. llvm-svn: 87047
-
Owen Anderson authored
llvm-svn: 87042
-
Bill Wendling authored
llvm-svn: 87040
-
- Nov 12, 2009
-
-
Bill Wendling authored
llvm-svn: 87036
-
Chris Lattner authored
llvm-svn: 87035
-
David Greene authored
Do some cleanups suggested by Chris. llvm-svn: 87034
-
David Greene authored
Set the ReloadReuse AsmPrinter flag where appropriate. llvm-svn: 87030
-
David Greene authored
Make the MachineFunction argument of getFrameRegister const. This also fixes a build error. llvm-svn: 87027
-
David Greene authored
Add hasLoadFromStackSlot and hasStoreToStackSlot to return whether a machine instruction loads or stores from/to a stack slot. Unlike isLoadFromStackSlot and isStoreFromStackSlot, the instruction may be something other than a pure load/store (e.g. it may be an arithmetic operation with a memory operand). This helps AsmPrinter determine when to print a spill/reload comment. This is only a hint since we may not be able to figure this out in all cases. As such, it should not be relied upon for correctness. Implement for X86. Return false by default for other architectures. llvm-svn: 87026
-
Daniel Dunbar authored
llvm-svn: 87024
-