- Apr 05, 2004
-
-
Chris Lattner authored
types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
-
- Apr 04, 2004
-
-
Chris Lattner authored
have non-long indices for sequential types. In order to avoid trying to figure out how the v9 backend works, we'll just hack it in the preselection pass. llvm-svn: 12647
-
- Apr 02, 2004
-
-
Brian Gaeke authored
Eliminating call-frame pseudo instrs and frame indices are still stubs. Flesh out the emitPrologue method based on better ABI knowledge. llvm-svn: 12632
-
Brian Gaeke authored
Fix up comments. llvm-svn: 12631
-
Brian Gaeke authored
the CALL instruction). llvm-svn: 12630
-
Brian Gaeke authored
llvm-svn: 12629
-
Alkis Evlogimenos authored
llvm-svn: 12615
-
Brian Gaeke authored
Move lowerselect pass to come after preselection. Move machine code construction and stack slots pass to come right before instruction selection. This is to help fix perlbmk. Update comments. Make the sequence of passes in addPassesToJITCompile look more like the sequence of passes in addPassesToEmitAssembly, including support for -print-machineinstrs. llvm-svn: 12614
-
Brian Gaeke authored
llvm-svn: 12613
-
Alkis Evlogimenos authored
llvm-svn: 12611
-
Alkis Evlogimenos authored
llvm-svn: 12610
-
Alkis Evlogimenos authored
llvm-svn: 12607
-
- Apr 01, 2004
-
-
Chris Lattner authored
llvm-svn: 12589
-
Chris Lattner authored
Implement a small optimization. In test/Regression/CodeGen/X86/select.ll, we now generate this for foldSel3: foldSel3: mov %AL, BYTE PTR [%ESP + 4] fld DWORD PTR [%ESP + 8] fld DWORD PTR [%ESP + 12] mov %EAX, DWORD PTR [%ESP + 16] mov %ECX, DWORD PTR [%ESP + 20] cmp %EAX, %ECX fxch %ST(1) fcmovae %ST(0), %ST(1) *** fstp %ST(1) ret Instead of: foldSel3: mov %AL, BYTE PTR [%ESP + 4] fld DWORD PTR [%ESP + 8] fld DWORD PTR [%ESP + 12] mov %EAX, DWORD PTR [%ESP + 16] mov %ECX, DWORD PTR [%ESP + 20] cmp %EAX, %ECX fxch %ST(1) fcmovae %ST(0), %ST(1) *** fxch %ST(1) *** fstp %ST(0) ret In practice, this only effects code size: performance should be basically unaffected. llvm-svn: 12588
-
Chris Lattner authored
llvm-svn: 12587
-
Chris Lattner authored
llvm-svn: 12579
-
Chris Lattner authored
llvm-svn: 12578
-
Chris Lattner authored
the X86 does not support a full set of fp cmove instructions, so we can't always fold the condition into the select. :( Yuck. llvm-svn: 12577
-
Chris Lattner authored
llvm-svn: 12576
-
Chris Lattner authored
llvm-svn: 12575
-
Chris Lattner authored
that require the asmwriter to be extended (printing implicit uses before the explicit operands) llvm-svn: 12574
-
- Mar 31, 2004
-
-
Chris Lattner authored
llvm-svn: 12572
-
Brian Gaeke authored
easily steal it for a separate use in the reoptimizer. llvm-svn: 12568
-
Chris Lattner authored
using our broad selection of movcc instructions. :) llvm-svn: 12560
-
- Mar 30, 2004
-
-
Chris Lattner authored
llvm-svn: 12554
-
Chris Lattner authored
folding compares into the select yet. llvm-svn: 12553
-
Chris Lattner authored
we never generated them Make indentation a bit more consistent llvm-svn: 12549
-
Chris Lattner authored
an incoming value from a block, the selector would evaluate the constant at the TOP of the block instead of at the end of the block. This made the live range for the constant span the entire block, increasing register pressure needlessly. llvm-svn: 12542
-
Chris Lattner authored
llvm-svn: 12541
-
- Mar 29, 2004
-
-
Brian Gaeke authored
Otherwise, if you're in debugging mode, you get warnings for (apparently) every immediate constant in the function during reg. allocation. llvm-svn: 12538
-
- Mar 19, 2004
-
-
Chris Lattner authored
llvm-svn: 12504
-
- Mar 18, 2004
-
-
Chris Lattner authored
llvm-svn: 12500
-
Chris Lattner authored
folding load instructions into other instructions across free instruction boundaries. Perhaps this will also fix the other strange failures? llvm-svn: 12494
-
- Mar 16, 2004
-
-
Brian Gaeke authored
llvm-svn: 12454
-
Brian Gaeke authored
llvm-svn: 12453
-
Brian Gaeke authored
llvm-svn: 12452
-
Brian Gaeke authored
llvm-svn: 12451
-
Brian Gaeke authored
Add handling for Mul instruction. llvm-svn: 12450
-
- Mar 15, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 12424
-
- Mar 14, 2004
-
-
Alkis Evlogimenos authored
MachineBasicBlock::iterator take a MachineInstr*. llvm-svn: 12392
-