- Jul 12, 2009
-
-
Chris Lattner authored
llvm-svn: 75402
-
Chris Lattner authored
llvm-svn: 75398
-
Chris Lattner authored
anymore, so these aren't needed. llvm-svn: 75397
-
- Jul 11, 2009
-
-
Chris Lattner authored
Basically, using: lea symbol(%rip), %rax is not valid in -static mode, because the current RIP may not be within 32-bits of "symbol" when an app is built partially pic and partially static. The fix for this is to compile it to: lea symbol, %rax It would be better to codegen this as: movq $symbol, %rax but that will come next. The hard part of fixing this bug was fixing abi-isel, which was actively testing for the wrong behavior. Also, the RUN lines are completely impossible to understand what they are testing. To help with this, convert the -static x86-64 codegen tests to use filecheck. This is much more stable and makes it more clear what the codegen is expected to be. llvm-svn: 75382
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
Chris Lattner authored
never be generated. llvm-svn: 75305
-
- Jul 10, 2009
-
-
Chris Lattner authored
llvm-svn: 75298
-
Evan Cheng authored
llvm-svn: 75290
-
Chris Lattner authored
llvm-svn: 75278
-
Chris Lattner authored
llvm-svn: 75277
-
Chris Lattner authored
llvm-svn: 75276
-
Chris Lattner authored
llvm-svn: 75275
-
Chris Lattner authored
llvm-svn: 75274
-
Chris Lattner authored
add a couple of predicates to test for "stub style pic in PIC mode" and "stub style pic in dynamic-no-pic" mode. llvm-svn: 75273
-
Evan Cheng authored
llvm-svn: 75266
-
Chris Lattner authored
tomorrow. llvm-svn: 75245
-
Chris Lattner authored
elimiantes the last use of GVRequiresExtraLoad, so delete it. llvm-svn: 75244
-
Chris Lattner authored
need for other purposes. llvm-svn: 75243
-
Chris Lattner authored
done in ClassifyGlobalReference instead of reconstructing the info awkwardly. llvm-svn: 75240
-
Chris Lattner authored
PIC-base to be added in. llvm-svn: 75238
-
Chris Lattner authored
is just a trivial wrapper around "ClassifyGlobalReference", which stole a ton of logic from LowerGlobalAddress. llvm-svn: 75237
-
Chris Lattner authored
llvm-svn: 75236
-
Chris Lattner authored
to use isGlobalStubReference instead of GVRequiresExtraLoad (which should really be part of isel). llvm-svn: 75234
-
Chris Lattner authored
MachineOperand is a reference to a stub, not a reference to the global variable itself. Look no context needed! llvm-svn: 75233
-
Chris Lattner authored
llvm-svn: 75232
-
Chris Lattner authored
more complex and slow than just directly testing what we care about. llvm-svn: 75231
-
Chris Lattner authored
split its handling out to PCRelGVRequiresExtraLoad, and simplify code based on this. llvm-svn: 75230
-
Chris Lattner authored
llvm-svn: 75229
-
Chris Lattner authored
llvm-svn: 75228
-
Chris Lattner authored
template. Also convert it to take a MachineOperand instead of a GV* llvm-svn: 75227
-
Bill Wendling authored
is modified. Otherwise, the unwinder will get confused. The old code (before I started my hacking) did this. It dropped on the floor, because I wasn't aware of this requirement. On the plus side, if we use "alloca" in a function, we create frame pointers even with -fomit-frame-pointer is enabled! This is a Good Thing(tm)!!! llvm-svn: 75183
-
- Jul 09, 2009
-
-
Dale Johannesen authored
gcc.apple/asm-block-13.c gcc.apple/asm-block-57.c llvm-svn: 75169
-
Owen Anderson authored
llvm-svn: 75153
-
Eli Friedman authored
llvm-svn: 75142
-
Chris Lattner authored
llvm-svn: 75118
-
Chris Lattner authored
isel. llvm-svn: 75117
-
Evan Cheng authored
registers based on dynamic conditions. For example, X86 EBP/RBP, when used as frame register has to be spilled in the first fixed object. It should inform PEI this so it doesn't get allocated another stack object. Also, it should not be spilled as other callee-saved registers but rather its spilling and restoring are being handled by emitPrologue and emitEpilogue. Avoid spilling it twice. llvm-svn: 75116
-
Chris Lattner authored
llvm-svn: 75113
-
Chris Lattner authored
llvm-svn: 75112
-
Chris Lattner authored
llvm-svn: 75110
-