[llvm] [RISCV][GISel] Add instruction selection for G_SEXT, G_ZEXT, and G_SEXT_INREG (PR #67359)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 12:26:36 PDT 2023


================
@@ -1774,6 +1774,12 @@ let Predicates = [IsRV64], hasSideEffects = 0, mayLoad = 0, mayStore = 0,
 def PseudoZEXT_W : Pseudo<(outs GPR:$rd), (ins GPR:$rs), [], "zext.w", "$rd, $rs">;
 } // Predicates = [IsRV64], ...
 
+let Predicates = [IsRV64] in
----------------
topperc wrote:

Add the new patterns to RISCVGISel.td for now since they aren't needed by SelectionDAG.,

https://github.com/llvm/llvm-project/pull/67359


More information about the llvm-commits mailing list