aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2020-07-15 10:48:41 +0100
committerJessica Clarke <jrtc27@jrtc27.com>2020-07-15 10:50:55 +0100
commit3382c243baf2c9761db80e498243f4c57fe64de8 (patch)
tree5f09fbb2bd56e90ee939077fb4faab8d6aaa6c36 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent7a587ca93200c49e47fe205ce037895c81c5a542 (diff)
downloadllvm-3382c243baf2c9761db80e498243f4c57fe64de8.zip
llvm-3382c243baf2c9761db80e498243f4c57fe64de8.tar.gz
llvm-3382c243baf2c9761db80e498243f4c57fe64de8.tar.bz2
[RISCV] Fix RISCVInstrInfo::getInstSizeInBytes for atomics pseudos
Summary: Without these, the generic branch relaxation pass will underestimate the range required for branches spanning these and we can end up with "fixup value out of range" errors rather than relaxing the branches. Some of the instructions in the expansion may end up being compressed but exactly determining that is awkward, and these conservative values should be safe, if slightly suboptimal in rare cases. Reviewers: asb, lenary, luismarques, lewis-revill Reviewed By: asb, luismarques Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal, apazos, evandro, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77443
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions