Files
clang-p2996/llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
Craig Topper bedb9077c3 [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.
2025-03-06 21:55:47 -08:00

6.0 KiB