aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorjasonliu <jasonliu.development@gmail.com>2020-09-11 14:26:26 +0000
committerjasonliu <jasonliu.development@gmail.com>2020-09-14 13:41:34 +0000
commit9868ea764f31b0fd4ec250867807aa0ad7958abf (patch)
tree5889f7bd724af523172929e9f14d1f1183343e15 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent08baa979235ab98cf13497dde813ab8ae58b11cb (diff)
downloadllvm-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