[llvm] [RISCV] Correct the SDTypeProfile for RISCVISD::PROBED_ALLOCA (PR #139135)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 13:26:26 PDT 2025
================
@@ -1463,9 +1463,9 @@ def PROBED_STACKALLOC_RVV : Pseudo<(outs GPR:$sp),
[]>,
Sched<[]>;
let usesCustomInserter = 1 in
-def PROBED_STACKALLOC_DYN : Pseudo<(outs GPR:$rd),
+def PROBED_STACKALLOC_DYN : Pseudo<(outs),
(ins GPR:$scratch),
----------------
s-barannikov wrote:
(nit) not sure if `scratch` is the best name here.
I guess it follows other nodes, but the meaning here is different. Should it be `sp`, maybe?
https://github.com/llvm/llvm-project/pull/139135
More information about the llvm-commits
mailing list