aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-03-06 21:55:47 -0800
committerGitHub <noreply@github.com>2025-03-06 21:55:47 -0800
commitbedb9077c38cf01a3f9303d68599ea95677be5b7 (patch)
tree30214c87dfd7281644893afe2e95bd559cd4a382 /llvm/lib/IR/Module.cpp
parentc02019141cfe4e2bacdfa67262e84eee838f2e38 (diff)
downloadllvm-bedb9077c38cf01a3f9303d68599ea95677be5b7.zip
llvm-bedb9077c38cf01a3f9303d68599ea95677be5b7.tar.gz
llvm-bedb9077c38cf01a3f9303d68599ea95677be5b7.tar.bz2
[RISCV] Simplify how we find combinable cm.pop+ret. (#130204)
Instead of scanning the whole basic block for a POP, find the RET and then look backwards for the POP. Using getFirstTerminator, we can do this with less code and it's probably faster.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions