- Nov 16, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 88887
-
Bruno Cardoso Lopes authored
- Add a smarter constant pool loading, instead of: lui $2, %hi($CPI1_0) addiu $2, $2, %lo($CPI1_0) lwc1 $f0, 0($2) Generate: lui $2, %hi($CPI1_0) lwc1 $f0, %lo($CPI1_0)($2) llvm-svn: 88886
-
- Nov 15, 2009
-
-
Jim Grosbach authored
conservatively. eliminateFrameIndex() machinery adjust to handle addr mode 6 (vld1/vst1) used for spills. Fix tests to expect aligned Q-reg spilling llvm-svn: 88874
-
Jim Grosbach authored
llvm-svn: 88873
-
Nick Lewycky authored
bug 5438. llvm-svn: 88855
-
- Nov 14, 2009
-
-
Jim Grosbach authored
llvm-svn: 88812
-
Jim Grosbach authored
llvm-svn: 88805
-
Richard Osborne authored
llvm-svn: 88802
-
Anton Korobeynikov authored
llvm-svn: 88800
-
Daniel Dunbar authored
- This is an initial step towards -march=native support in Clang, and towards eliminating host dependencies in the targets. See PR5389. - Patch by Roman Divacky! llvm-svn: 88768
-
Sanjiv Gupta authored
llvm-svn: 88762
-
Sanjiv Gupta authored
llvm-svn: 88761
-
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: 88734
-
- Nov 13, 2009
-
-
Jakob Stoklund Olesen authored
llvm-svn: 88705
-
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
-
David Goodwin authored
llvm-svn: 88682
-
Bruno Cardoso Lopes authored
because the testcase is triggering one more bug. llvm-svn: 88674
-
Dale Johannesen authored
PPC is such a target; make it work. llvm-svn: 87060
-
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
-
- Nov 12, 2009
-
-
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
-
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
-
Jim Grosbach authored
to directly follow the jump table. Move the layout changes to prior to any constant island handling. llvm-svn: 86999
-
Evan Cheng authored
llvm-svn: 86965
-
Evan Cheng authored
llvm-svn: 86964
-
Jim Grosbach authored
Revert 86857. It's causing consumer-typeset to fail, and there's a better way to do it forthcoming anyway. llvm-svn: 86945
-
Bruno Cardoso Lopes authored
llvm-svn: 86895
-
- Nov 11, 2009
-
-
Evan Cheng authored
Add TargetLowering::isLegalICmpImmediate. It tells LSR what immediate can be folded into target icmp instructions. llvm-svn: 86858
-
Jim Grosbach authored
llvm-svn: 86857
-
Dan Gohman authored
llvm-svn: 86851
-
Dan Gohman authored
llvm-svn: 86850
-
Chris Lattner authored
llvm-svn: 86848
-
Chris Lattner authored
llvm-svn: 86847
-
Jim Grosbach authored
The TBB and TBH instructions for Thumb2 are really handy for jump tables, but can only branch forward. To best take advantage of them, we'd like to adjust the basic blocks around a bit when reasonable. This patch puts basics in place to do that, with a super-simple algorithm for backwards jump table targets that creates a new branch after the jump table which branches backwards. Real heuristics for reordering blocks or other modifications rather than inserting branches will follow. llvm-svn: 86791
-
Daniel Dunbar authored
llvm-svn: 86769
-
Chris Lattner authored
llvm-svn: 86756
-