[llvm-commits] CVS: llvm/lib/Target/X86/X86Subtarget.cpp X86Subtarget.h X86TargetMachine.cpp

Chris Lattner clattner at apple.com
Tue Dec 19 21:59:34 PST 2006


On Dec 19, 2006, at 9:46 PM, Evan Cheng wrote:
> Let me clarify. It's important for llc and lli to behave exactly the
> same up to the final code emission pass. With your patch, the two
> would behave differently and that means we can no longer use llc to
> reproduce jit codegen bug.

PPC64 has a similar problem.  It wants to do codegen in PIC mode, but  
it doesn't want the JIT to make dyld stubs.  As such, it does 'JIT  
PIC' mode, which is like PIC but doesn't do the extra load to go  
through dyld stubs.

An alternative approach would be to have the JIT synthesize dyld  
stubs, but that takes work to implement and yields slower programs.

-Chris





More information about the llvm-commits mailing list