summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2016-09-02 21:37:07 +0000
committerHal Finkel <hfinkel@anl.gov>2016-09-02 21:37:07 +0000
commit7b104d4721f6aedfbb3afe51464bcb2912f02db9 (patch)
tree25896517d6bbe6e497f91a41333cedc8079cdbbe /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parentc91930a17f2c32fefe5eb5caeb767462655a12d3 (diff)
downloadbcm5719-llvm-7b104d4721f6aedfbb3afe51464bcb2912f02db9.tar.gz
bcm5719-llvm-7b104d4721f6aedfbb3afe51464bcb2912f02db9.zip
[PowerPC] For larger offsets, when possible, fold offset into addis toc@ha
When we have an offset into a global, etc. that is accessed relative to the TOC base pointer, and the offset is larger than the minimum alignment of the global itself and the TOC base pointer (which is 8-byte aligned), we can still fold the @toc@ha into the memory access, but we must update the addis instruction's symbol reference with the offset as the symbol addend. When there is only one use of the addi to be folded and only one use of the addis that would need its symbol's offset adjusted, then we can make the adjustment and fold the @toc@l into the memory access. llvm-svn: 280545
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud