- Nov 03, 2008
-
-
Dan Gohman authored
adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
-
- Oct 31, 2008
-
-
Bill Wendling authored
llvm-svn: 58539
-
Evan Cheng authored
llvm-svn: 58533
-
Evan Cheng authored
llvm-svn: 58532
-
Evan Cheng authored
llvm-svn: 58529
-
Mon P Wang authored
llvm-svn: 58528
-
Evan Cheng authored
llvm-svn: 58527
-
Evan Cheng authored
llvm-svn: 58526
-
Bill Wendling authored
llvm-svn: 58523
-
Evan Cheng authored
Change x86 register allocation ordering to match that of gcc. Otherwise some tools get confused by prologue generated by llvm. llvm-svn: 58517
-
Bill Wendling authored
callee-saved restore code. It could skip over conditional jumps accidentally. Instead, just skip the "return" instructions. llvm-svn: 58489
-
Dan Gohman authored
vector element 0 for a store, as it's smaller and faster. llvm-svn: 58483
-
Evan Cheng authored
llvm-svn: 58474
-
- Oct 30, 2008
-
-
Duncan Sands authored
(i32 for PPC, not i8). Correct this, and some formatting while there. llvm-svn: 58451
-
Duncan Sands authored
getShiftAmountTy (i32 in the case of CellSPU). llvm-svn: 58449
-
Evan Cheng authored
llvm-svn: 58433
-
Mon P Wang authored
One will only see an effect if legalizetype is not active. Will move support to LegalizeType soon. llvm-svn: 58426
-
Scott Michel authored
so that va_start/va_arg/et.al. will walk arguments correctly for Cell SPU. N.B.: Because neither clang nor llvm-gcc-4.2 can be built for CellSPU, this is still unexorcised code. llvm-svn: 58415
-
Evan Cheng authored
llvm-svn: 58409
-
Evan Cheng authored
llvm-svn: 58408
-
Nate Begeman authored
llvm-svn: 58403
-
- Oct 29, 2008
-
-
Dale Johannesen authored
allows ppcf128->int conversion to work with DeadInstructionElimination. This is now turned off but RM is harmless. It does not do a complete job of modeling the rounding mode. Revert marking MFCR as using all 7 CR subregisters; while correct, this caused the problem in PR 2964, plus the local RA crash noted in the comments. This was needed to make DeadInstructionElimination, but as we are not running that, it is backed out for now. Eventually it should go back in and the other problems fixed where they're broken. llvm-svn: 58391
-
- Oct 28, 2008
-
-
Jim Grosbach authored
Since the ARM constant pool handling supercedes the standard LLVM constant pool entirely, the JIT emitter does not allocate space for the constants, nor initialize the memory. The constant pool is considered part of the instruction stream. Likewise, when resolving relocations into the constant pool, a hook into the target back end is used to resolve from the constant ID# to the address where the constant is stored. For now, the support in the ARM emitter is limited to 32-bit integer. Future patches will expand this to the full range of constants necessary. llvm-svn: 58338
-
Duncan Sands authored
ppcf128 to i32 conversion and expand it into a code sequence like in LegalizeDAG. This needs custom ppc lowering of FP_ROUND_INREG, so turn that on and make it work with LegalizeTypes. Probably PPC should simply custom lower the original conversion. llvm-svn: 58329
-
Chris Lattner authored
a memset using 16-byte XMM stores, but where the stack realignment code didn't work. Until it does (PR2962) disable use of xmm regs in memcpy and memset formation for linux and other targets with insufficiently aligned stacks. This is part of PR2888 llvm-svn: 58317
-
- Oct 27, 2008
-
-
David Greene authored
Have TableGen emit setSubgraphColor calls under control of a -gen-debug flag. Then in a debugger developers can set breakpoints at these calls to see waht is about to be selected and what the resulting subgraph looks like. This really helps when debugging instruction selection. llvm-svn: 58278
-
Evan Cheng authored
For now, don't split live intervals around x87 stack register barriers. FpGET_ST0_80 must be right after a call instruction (and ADJCALLSTACKUP) so we need to find a way to prevent reload of x87 registers between them. llvm-svn: 58230
-
- Oct 25, 2008
-
-
Dan Gohman authored
target-independent code to target-specific code. This prevents it from running on targets that aren't using fast-isel. In addition to saving compile time, this addresses the problem that not all targets are prepared for it. In order to use this pass, all instructions must declare all their fixed uses and defs of physical registers. llvm-svn: 58144
-
Nicolas Geoffray authored
variable is moved to the execution engine. The JIT calls the TargetJITInfo to allocate thread local storage. Currently, only linux/x86 knows how to allocate thread local global variables. llvm-svn: 58142
-
Nicolas Geoffray authored
llvm-svn: 58141
-
Oscar Fuentes authored
llvm-svn: 58133
-
Dale Johannesen authored
Prevents some more overzealous deletions (mostly in AltiVec code). llvm-svn: 58121
-
- Oct 24, 2008
-
-
Dale Johannesen authored
be saved/restored in the prolog/epilog. We need to do this iff something in the function stores into it. llvm-svn: 58116
-
Torok Edwin authored
llvm-svn: 58104
-
Torok Edwin authored
llvm-svn: 58103
-
Duncan Sands authored
LHS is a foldable load, then LHS and RHS are swapped and SetCCOpcode is changed to SETUGT. But the later code is expecting operands to be the wrong way round for SETUGT, but they are not in this case, resulting in an inverted compare. The solution is to move the load normalization before the correction for SETUGT. This bug was tickled by LegalizeTypes which happened to legalize the testcase slightly differently to LegalizeDAG. llvm-svn: 58092
-
Dan Gohman authored
fixes a bunch of test-suite JIT failures on x86-64 in -relocation-model=static mode. llvm-svn: 58066
-
- Oct 23, 2008
-
-
Dale Johannesen authored
Prevents DeadMachineInstructionElim from thinking things like MTCTR are dead (fixes massive testsuite breakage at -O0). llvm-svn: 58043
-
Jim Grosbach authored
llvm-svn: 58006
-
- Oct 22, 2008
-
-
Dale Johannesen authored
llvm-svn: 57987
-