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


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to