- Nov 16, 2009
-
-
David Greene authored
Support spill comments. Have the asm printer emit a comment if an instruction is a spill or reload and have the spiller mark copies it introdues so the asm printer can also annotate those. llvm-svn: 88911
-
Evan Cheng authored
llvm-svn: 88899
-
Evan Cheng authored
llvm-svn: 88895
-
Lang Hames authored
Make sure when ProcessImplicitDefs removes a copy which kills its source reg that it removes the copy from said reg's Kills list. llvm-svn: 88881
-
Lang Hames authored
Fix for the original bug in PR5495 - Look at uses as well as defs when determining the PHI-copy insert point. - Patch by Andrew Canis! llvm-svn: 88880
-
- Nov 15, 2009
-
-
Lang Hames authored
Added an assert to the PBQP allocator to catch infinite cost solutions which might otherwise lead to miscompilations. llvm-svn: 88829
-
- Nov 14, 2009
-
-
Jim Grosbach authored
merges, and until then, it's useful to keep the tables separate for ease of manipulation. llvm-svn: 88806
-
Jim Grosbach authored
llvm-svn: 88804
-
Sanjiv Gupta authored
llvm-svn: 88762
-
Sanjiv Gupta authored
llvm-svn: 88761
-
Evan Cheng authored
Added getSubRegIndex(A,B) that returns subreg index of A to B. Use it to replace broken code in VirtRegRewriter. llvm-svn: 88753
-
Evan Cheng authored
- If destination is a physical register and it has a subreg index, use the sub-register instead. This fixes PR5423. llvm-svn: 88745
-
Evan Cheng authored
llvm-svn: 88738
-
Dan Gohman authored
llvm-svn: 88737
-
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
-
- 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: 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
-
Dan Gohman authored
llvm-svn: 88672
-
Devang Patel authored
llvm-svn: 87069
-
Dale Johannesen authored
PPC is such a target; make it work. llvm-svn: 87060
-
Bill Wendling authored
llvm-svn: 87040
-
- Nov 12, 2009
-
-
Bill Wendling authored
llvm-svn: 87036
-
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
-
Daniel Dunbar authored
llvm-svn: 87024
-
Bill Wendling authored
and don't assume that the call doesn't throw. It would be nice if there were a way to determine which is the callee and which is a parameter. In practice, the architecture we care about normally only have one operand for a call instruction (x86 and arm). llvm-svn: 87023
-
David Greene authored
Add a bool flag to StackObjects telling whether they reference spill slots. The AsmPrinter will use this information to determine whether to print a spill/reload comment. Remove default argument values. It's too easy to pass a wrong argument value when multiple arguments have default values. Make everything explicit to trap bugs early. Update all targets to adhere to the new interfaces.. llvm-svn: 87022
-
Benjamin Kramer authored
StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020
-
David Greene authored
Make FixedStackPseudoSourceValue a first-class PseudoSourceValue by making it visible to clients and adding LLVM-style cast capability. This will be used by AsmPrinter to determine when to emit spill comments for an instruction. llvm-svn: 87019
-
David Goodwin authored
llvm-svn: 87015
-
Devang Patel authored
"Attach debug info with llvm instructions" mode was enabled a month ago. Now make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014
-