- Nov 17, 2009
-
-
Nick Lewycky authored
libffi support and that the interpreter can't call external functions without it. Patch by Timo Juhani Lindfors! Fixes PR5466. llvm-svn: 89062
-
Lang Hames authored
llvm-svn: 89059
-
Owen Anderson authored
llvm-svn: 89056
-
Bill Wendling authored
more than one place. No intended functionality change. llvm-svn: 89024
-
Jim Grosbach authored
is analyzable so it can be updated. If it's not, be safe and don't move the block. llvm-svn: 89022
-
Jakob Stoklund Olesen authored
llvm-svn: 89021
-
Evan Cheng authored
llvm-svn: 89019
-
Dan Gohman authored
unconditional branches or fallthroghes. Instcombine/SimplifyCFG should be simplifying branches with known conditions. This fixes some problems caused by these transformations not updating the MachineBasicBlock CFG. llvm-svn: 89017
-
Devang Patel authored
llvm-svn: 89016
-
Jeffrey Yasskin authored
right type. llvm-svn: 89014
-
Evan Cheng authored
llvm-svn: 89011
-
Jim Grosbach authored
llvm-svn: 89007
-
Jim Grosbach authored
llvm-svn: 89002
-
Jim Grosbach authored
llvm-svn: 89001
-
Johnny Chen authored
0b1110 (ALways). This is so that the disassembler decoder can distinguish among BX_RET, BRIND, and BXr9. llvm-svn: 89000
-
Dan Gohman authored
in this testcase. llvm-svn: 88998
-
Dan Gohman authored
by the recent FixedStackPseudoSourceValue-related changes, now that the specific bug that affected it is fixed, in r88954. llvm-svn: 88997
-
Jeffrey Yasskin authored
address space (though it only uses a small fraction of that), and the buildbots disallow that. Also add a comment to the Makefile's ulimit line warning future developers that changing it won't work. llvm-svn: 88994
-
Jim Grosbach authored
llvm-svn: 88991
-
- Nov 16, 2009
-
-
Dan Gohman authored
uninitialized memory. llvm-svn: 88985
-
Jeffrey Yasskin authored
The large code model is documented at http://www.x86-64.org/documentation/abi.pdf and says that calls should assume their target doesn't live within the 32-bit pc-relative offset that fits in the call instruction. To do this, we turn off the global-address->target-global-address conversion in X86TargetLowering::LowerCall(). The first attempt at this broke the lazy JIT because it can separate the movabs(imm->reg) from the actual call instruction. The lazy JIT receives the address of the movabs as a relocation and needs to record the return address from the call; and then when that call happens, it needs to patch the movabs with the newly-compiled target. We could thread the call instruction into the relocation and record the movabs<->call mapping explicitly, but that seems to require at least as much new complication in the code generator as this change. To fix this, we make lazy functions _always_ go through a call stub. You'd think we'd only have to force lazy calls through a stub on difficult platforms, but that turns out to break indirect calls through a function pointer. The right fix for that is to distinguish between calls and address-of operations on uncompiled functions, but that's complex enough to leave for someone else to do. Another attempt at this defined a new CALL64i pseudo-instruction, which expanded to a 2-instruction sequence in the assembly output and was special-cased in the X86CodeEmitter's emitInstruction() function. That broke indirect calls in the same way as above. This patch also removes a hack forcing Darwin to the small code model. Without far-call-stubs, the small code model requires things of the JITMemoryManager that the DefaultJITMemoryManager can't provide. Thanks to echristo for lots of testing! llvm-svn: 88984
-
Daniel Dunbar authored
Don't build examples by default, use BUILD_EXAMPLES=1 to build them. The only utility of this is testing that we keep the examples up to date, I will just make the buildbots run with this flag. llvm-svn: 88979
-
Daniel Dunbar authored
disk space, and increasing battery lifetime. :) llvm-svn: 88978
-
Eric Christopher authored
llvm-svn: 88977
-
Evan Cheng authored
- Check memoperand alignment instead of checking stack alignment. Most load / store folding instructions are not referencing spill stack slots. - Mark MOVUPSrm re-materializable. llvm-svn: 88974
-
Devang Patel authored
llvm-svn: 88973
-
David Greene authored
Fix an expensive-checks error. The Mask and LHSMask may not be of the same size, so don't do the transformation if they're different. llvm-svn: 88972
-
Jim Grosbach authored
llvm-svn: 88964
-
Jim Grosbach authored
llvm-svn: 88961
-
Dan Gohman authored
llvm-svn: 88959
-
Dan Gohman authored
llvm-svn: 88957
-
Dan Gohman authored
llvm-svn: 88956
-
Dan Gohman authored
FixedStackPseudoSourceValueVal, to respect this isa relationship. llvm-svn: 88954
-
Dan Gohman authored
llvm-svn: 88953
-
Jim Grosbach authored
llvm-svn: 88947
-
Lang Hames authored
llvm-svn: 88946
-
Rafael Espindola authored
llvm-svn: 88943
-
Jim Grosbach authored
llvm-svn: 88942
-
Bob Wilson authored
llvm-svn: 88940
-
Devang Patel authored
llvm-svn: 88939
-