[llvm] [RISCV] TableGen-erate RISC-V SDNodes (PR #138381)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 12:14:58 PDT 2025


================
@@ -70,10 +70,14 @@
 ///
 //===----------------------------------------------------------------------===//
 
-def riscv_vmv_x_s : SDNode<"RISCVISD::VMV_X_S",
+// VMV_X_S matches the semantics of vmv.x.s. The result is always XLenVT sign
+// extended from the vector element size.
+def riscv_vmv_x_s : RVSDNode<"VMV_X_S",
                            SDTypeProfile<1, 1, [SDTCisInt<0>, SDTCisVec<1>,
----------------
topperc wrote:

More indentation

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


More information about the llvm-commits mailing list