[llvm-commits] [llvm] r67142 - in /llvm/trunk: lib/Target/X86/X86Instr64bit.td test/CodeGen/X86/call-imm.ll

Evan Cheng evan.cheng at apple.com
Tue Mar 17 19:03:47 PDT 2009


llvm only supports small code model fully. Medium and large code  
models are not fully baked. Perhaps this just need a  
Require<[SmallCode]>. It's true the call destination displacement can  
be beyond 4G. But in small code model that's undefined behavior  
anyway, right?

Evan

On Mar 17, 2009, at 6:31 PM, Mike Stump wrote:

> On Mar 17, 2009, at 5:43 PM, Chris Lattner wrote:
>> Disable the "call to immediate" optimization on x86-64.
>
> I think it would be valid for any model other than -mcmodel=large, if
> people wanted to have -mcmodel support.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list