[llvm] [RISCV] Rematerialize load (PR #73924)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 25 04:13:27 PST 2024
================
@@ -1567,6 +1573,36 @@ bool RISCVInstrInfo::isAsCheapAsAMove(const MachineInstr &MI) const {
return MI.isAsCheapAsAMove();
}
+bool RISCVInstrInfo::isReallyTriviallyReMaterializable(
----------------
arsenm wrote:
This is a correctness predicate and you've added performance heuristics; this should go somewhere else
https://github.com/llvm/llvm-project/pull/73924
More information about the llvm-commits
mailing list