Go to file
Chris Lattner 38df005e12 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.

llvm-svn: 75403
2009-07-11 23:17:29 +00:00
clang The -disable-free hack didn't work... 2009-07-11 23:05:12 +00:00
compiler-rt improve portability to platforms that don't put python in /usr/bin. Patch by 2009-07-06 22:24:16 +00:00
llvm fix x86-64 static codegen to materialize the address of a global with movl instead 2009-07-11 23:17:29 +00:00