[llvm-dev] PIC preferred too strongly, even at CodeModel::Large?

Ramkumar Ramachandra via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 7 13:40:59 PDT 2016


Joerg Sonnenberger wrote:
> Just to avoid any confusion, your code is well within 4GB, but the
> location of the jump table can be more than 4GB away? I'm asking as one
> of the open issues for me in the PowerPC target is supporting
> function-relative jump tables, so that the jump table needs only 32bit
> entries as long as a single function is not longer than 4GB.

Yes, that's right.

Ram


More information about the llvm-dev mailing list