[all-commits] [llvm/llvm-project] bedb90: [RISCV] Simplify how we find combinable cm.pop+ret...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Mar 6 21:56:09 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bedb9077c38cf01a3f9303d68599ea95677be5b7
https://github.com/llvm/llvm-project/commit/bedb9077c38cf01a3f9303d68599ea95677be5b7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list