diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-10-31 10:33:14 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-10-31 10:33:14 +0000 |
commit | c8c2ea2854bb750374158ff1b9c3cd7ccd9481f1 (patch) | |
tree | 57f372f86af08ff660c50d19bd8e005ca23293da /llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp | |
parent | e2b8b1431c8e202e61cdd37b966d47e06d9e1272 (diff) | |
download | bcm5719-llvm-c8c2ea2854bb750374158ff1b9c3cd7ccd9481f1.tar.gz bcm5719-llvm-c8c2ea2854bb750374158ff1b9c3cd7ccd9481f1.zip |
[PowerPC] Load BlockAddress values from the TOC in 64-bit SVR4 code
Since block address values can be larger than 2GB in 64-bit code, they
cannot be loaded simply using an @l / @ha pair, but instead must be
loaded from the TOC, just like GlobalAddress, ConstantPool, and
JumpTable values are.
The commit also fixes a bug in PPCLinuxAsmPrinter::doFinalization where
temporary labels could not be used as TOC values, since code would
attempt (and fail) to use GetOrCreateSymbol to create a symbol of the
same name as the temporary label.
llvm-svn: 220959
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions