llvm-6502/lib
Chris Lattner 65a7a6f7a3 fix x86-64 static codegen to materialize the address of a global with movl instead
of lea.  It is better for code size (and presumably efficiency) to use:

  movl $foo, %eax

rather than:

  leal foo, eax

Both give a nice zero extending "move immediate" instruction, the former is just
smaller.  Note that global addresses should be handled different by the x86
backend, but I chose to follow the style already in place and add more fixme's.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75403 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-11 23:17:29 +00:00
..
Analysis Revert r75252 which was causing some crashes at compile time. 2009-07-11 20:38:25 +00:00
Archive Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
AsmParser assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
Bitcode assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
CodeGen assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
Linker assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
MC assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
Support assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
System eraseFromDisk no longer throws. 2009-07-09 16:17:28 +00:00
Target fix x86-64 static codegen to materialize the address of a global with movl instead 2009-07-11 23:17:29 +00:00
Transforms silence a vc++ warning. 2009-07-11 22:31:59 +00:00
VMCore assert(0) -> LLVM_UNREACHABLE. 2009-07-11 20:10:48 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00