[llvm-commits] [llvm] r66735 - in /llvm/trunk: lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp lib/Target/X86/X86Instr64bit.td lib/Target/X86/X86InstrInfo.td test/CodeGen/X86/call-imm.ll
Chris Lattner
clattner at apple.com
Thu Mar 12 09:19:04 PDT 2009
On Mar 12, 2009, at 9:12 AM, Dan Gohman wrote:
>>> assembly text output uses an indirect call ("call *") instead of a
>>> direct call.
>>
>> That should be fine. "call 0x1234" is not legal assembly,
>
> It is legal.
>
>> "call
>> *0x1234" really would branch to address 0x1234 as far as I can tell.
>
> call *0x1234 loads the destination from 0x1234.
Supporting this in the asm printer is just a matter of making the
"call" asm printer modifier do the right thing, no?
-Chris
More information about the llvm-commits
mailing list