diff options
author | James Clarke <jrtc27@jrtc27.com> | 2020-01-08 04:32:04 +0000 |
---|---|---|
committer | James Clarke <jrtc27@jrtc27.com> | 2020-01-08 04:32:06 +0000 |
commit | 917f46db04b8ddf52a43183f00d3b74e78740f9f (patch) | |
tree | beae976c61e32e5185871eee77c64b10a5329893 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | eac01f63a6c99d6ffd03b7b7c88cf8e28d364e5c (diff) | |
download | llvm-917f46db04b8ddf52a43183f00d3b74e78740f9f.zip llvm-917f46db04b8ddf52a43183f00d3b74e78740f9f.tar.gz llvm-917f46db04b8ddf52a43183f00d3b74e78740f9f.tar.bz2 |
[RISCV] Fix evalutePCRelLo for symbols at the end of a fragment
Summary:
This is analogous to D58943, which correctly finds the corresponding
fixup. However, when linker relaxations are disabled and we evaluate the
fixup, we need to also ensure we use an offset of 0 rather than the size
of the previous fragment.
Reviewers: asb, efriedma, lenary
Reviewed By: efriedma
Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71978
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions