-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[RISCV] Correct the SDTypeProfile for RISCVISD::PROBED_ALLOCA #139135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-backend-risc-v Author: Craig Topper (topperc) ChangesFull diff: https://github.com/llvm/llvm-project/pull/139135.diff 1 Files Affected:
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index 4a4290483e94b..76bf3be7861c5 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -103,8 +103,7 @@ def riscv_add_tprel : SDNode<"RISCVISD::ADD_TPREL",
SDTCisInt<0>]>>;
def riscv_probed_alloca : SDNode<"RISCVISD::PROBED_ALLOCA",
- SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
- SDTCisVT<0, i32>]>,
+ SDTypeProfile<0, 1, [SDTCisVT<0, XLenVT>]>,
[SDNPHasChain, SDNPMayStore]>;
//===----------------------------------------------------------------------===//
|
CC: @rzinsly |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/19692 Here is the relevant piece of the build log for the reference
|
@topperc thanks, this looks more correct than it was, definitely. |
No description provided.