[LLVMdev] Typo in IsLegalToCallImmediateAddr?
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Thu Oct 20 19:11:28 PDT 2011
> And this command:
>
> $ llc -mtriple "i686-linux-gnu" test.ll -o test.s -filetype=asm
> -relocation-model=pic
I can reproduce it now. Sorry, I was using a test returning void and we
don't have tail call of immediate.
My impression in that the right fix would be to just remove the
"isTargetELF()". It would make the function correct for ELF and not less
correct for other formats, since it is already broken for a format with
no calls to immediate.
> - pdox
Cheers,
Rafael
More information about the llvm-dev
mailing list