- Oct 03, 2008
-
-
Evan Cheng authored
llvm-svn: 57018
-
Daniel Dunbar authored
llvm-svn: 57017
-
Dan Gohman authored
Instead, just create one, and make sure everything that needs it can access it. Previously most of the SelectionDAGISel subclasses all had their own TargetLowering object, which was redundant with the TargetLowering object in the TargetMachine subclasses, except on Sparc, where SparcTargetMachine didn't have a TargetLowering object. Change Sparc to work more like the other targets here. llvm-svn: 57016
-
Dan Gohman authored
llvm-svn: 57014
-
Jim Grosbach authored
this handling to work properly for modifying stub functions, relocations back to entry points after JIT compilation, etc.. llvm-svn: 57013
-
Jim Grosbach authored
reg->reg moves. llvm-svn: 57011
-
Jim Grosbach authored
NeedStub/DoesntNeedStub logic was reversed, leading to not using a stub for global relocations that do need them (libc calls, for example). llvm-svn: 57010
-
Nuno Lopes authored
llvm-svn: 57009
-
Nuno Lopes authored
llvm-svn: 57008
-
Nuno Lopes authored
llvm-svn: 57007
-
Dan Gohman authored
isReg, etc., from isRegister, etc. llvm-svn: 57006
-
Nuno Lopes authored
llvm-svn: 57005
-
Duncan Sands authored
than the type an i1 is promoted to (eg: i8). Account for this. Noticed by Tilmann Scheller on CellSPU; he will hopefully take care of fixing this in LegalizeDAG and adding a testcase! llvm-svn: 56997
-
Duncan Sands authored
Why? Because it was there! llvm-svn: 56996
-
Nicolas Geoffray authored
the lock when calling a method which may materialize the llvm::Function. llvm-svn: 56995
-
Owen Anderson authored
llvm-svn: 56994
-
Dan Gohman authored
It turns out that this is a fairly common operation, and it's easy enough to handle. llvm-svn: 56990
-
Dan Gohman authored
getting inserted into the ValueMap. This avoids infinite recursion in some rare cases. llvm-svn: 56989
-
Dan Gohman authored
sequences like this: sete %al testb %al, %al jne LBB11_1 with this: je LBB11_1 llvm-svn: 56969
-
Dan Gohman authored
can be used when deciding if a block can transfer control to another via a fall-through instead of a branch. llvm-svn: 56968
-
- Oct 02, 2008
-
-
Andrew Lenharth authored
llvm-svn: 56965
-
Owen Anderson authored
Use a multimap rather than a map for holding the list of copies to insert, so we don't lose copies when two of them have the same source. I don't know what I was thinking when I wrote this originally. Note: There's probably a more efficient way to do this, but I need to think about it some more, and about what determinism guarantees need to be present. llvm-svn: 56964
-
Dale Johannesen authored
llvm-svn: 56963
-
Devang Patel authored
llvm-svn: 56960
-
Evan Cheng authored
Contributed by Lang Hames. llvm-svn: 56959
-
Oscar Fuentes authored
llvm-svn: 56957
-
Dan Gohman authored
volatile memory references are safe to move. llvm-svn: 56948
-
Dan Gohman authored
local register allocator's physreg liveness doesn't recognize subregs, so it doesn't know that defs of %ecx that are immediately followed by uses of %cl aren't dead. This comes up due to the way fast-isel emits shift instructions. This is a temporary workaround. Arguably, local regalloc should handle subreg references correctly. On the other hand, perhaps fast-isel should use INSERT_SUBREG instead of just assigning to the most convenient super-register of %cl when lowering shifts. This fixes MultiSource/Benchmarks/MallocBench/espresso, MultiSource/Applications/hexxagon, and others, under -fast. llvm-svn: 56947
-
Bill Wendling authored
a constant vector ("{0x123, 0x456}" syntax). The fix is to simplify the _mm_srli_si128 macro, and move the "* 8" from the macro into the compiler back-end. I can't change the existing __builtins because so many people are using them :-(." Patch by Stuart Hastings! llvm-svn: 56944
-
Daniel Dunbar authored
& version as strings. - Win32 code is untested. llvm-svn: 56942
-
Devang Patel authored
llvm-svn: 56939
-
Devang Patel authored
llvm-svn: 56937
-
- Oct 01, 2008
-
-
Dan Gohman authored
llvm-svn: 56930
-
Chris Lattner authored
patch provided by Tomas Lindquist Olsen! llvm-svn: 56929
-
Dan Gohman authored
llvm-svn: 56927
-
Dan Gohman authored
This allows the 64-bit forms to use+def RSP instead of ESP. This doesn't fix any real bugs today, but it is more precise and it makes the debug dumps on x86-64 look more consistent. Also, add some comments describing the CALL instructions' physreg operand uses and defs. llvm-svn: 56925
-
Jim Grosbach authored
llvm-svn: 56924
-
Duncan Sands authored
pointer bitcasts and GEP's", and centralize the logic in Value::getUnderlyingObject. The difference with stripPointerCasts is that stripPointerCasts only strips GEPs if all indices are zero, while getUnderlyingObject strips GEPs no matter what the indices are. llvm-svn: 56922
-
Dan Gohman authored
immediately. llvm-svn: 56921
-
Dan Gohman authored
llvm-svn: 56920
-