diff options
author | jasonliu <jasonliu.development@gmail.com> | 2020-09-11 14:26:26 +0000 |
---|---|---|
committer | jasonliu <jasonliu.development@gmail.com> | 2020-09-14 13:41:34 +0000 |
commit | 9868ea764f31b0fd4ec250867807aa0ad7958abf (patch) | |
tree | 5889f7bd724af523172929e9f14d1f1183343e15 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 08baa979235ab98cf13497dde813ab8ae58b11cb (diff) | |
download | llvm-9868ea764f31b0fd4ec250867807aa0ad7958abf.zip llvm-9868ea764f31b0fd4ec250867807aa0ad7958abf.tar.gz llvm-9868ea764f31b0fd4ec250867807aa0ad7958abf.tar.bz2 |
[XCOFF][AIX] Handle TOC entries that could not be reached by positive range in small code model
Summary:
In small code model, AIX assembler could not deal with labels that
could not be reached within the [-0x8000, 0x8000) range from TOC base.
So when generating the assembly, we would need to help the assembler
by subtracting an offset from the label to keep the actual value
within [-0x8000, 0x8000).
Reviewed By: hubert.reinterpretcast, Xiangling_L
Differential Revision: https://reviews.llvm.org/D86879
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions