aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2020-01-08 04:32:04 +0000
committerJames Clarke <jrtc27@jrtc27.com>2020-01-08 04:32:06 +0000
commit917f46db04b8ddf52a43183f00d3b74e78740f9f (patch)
treebeae976c61e32e5185871eee77c64b10a5329893 /llvm/lib/CodeGen/MachineScheduler.cpp
parenteac01f63a6c99d6ffd03b7b7c88cf8e28d364e5c (diff)
downloadllvm-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