Skip to content

Commit 3736822

Browse files
committed
[RISCV] Correct the SDTypeProfile for RISCVISD::PROBED_ALLOCA
1 parent d7987f1 commit 3736822

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfo.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ def riscv_add_tprel : SDNode<"RISCVISD::ADD_TPREL",
103103
SDTCisInt<0>]>>;
104104

105105
def riscv_probed_alloca : SDNode<"RISCVISD::PROBED_ALLOCA",
106-
SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
107-
SDTCisVT<0, i32>]>,
106+
SDTypeProfile<0, 1, [SDTCisVT<0, XLenVT>]>,
108107
[SDNPHasChain, SDNPMayStore]>;
109108

110109
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)