[llvm] [RISCV] Rematerialize load (PR #73924)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 21:42:17 PST 2023
================
@@ -626,7 +626,7 @@ def BGE : BranchCC_rri<0b101, "bge">;
def BLTU : BranchCC_rri<0b110, "bltu">;
def BGEU : BranchCC_rri<0b111, "bgeu">;
-let IsSignExtendingOpW = 1 in {
+let IsSignExtendingOpW = 1, isReMaterializable = 1, isAsCheapAsAMove = 1 in {
----------------
jrtc27 wrote:
isAsCheapAsAMove definitely isn't true for loads
https://github.com/llvm/llvm-project/pull/73924
More information about the llvm-commits
mailing list