[llvm-branch-commits] [llvm] 1658fb4 - Revert "[SelectionDAG] Implement SDTCisSameAs in verifyNode. (#235157)"
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Oct 24 10:37:28 PDT 2026
Author: Craig Topper
Date: 2026-10-24T10:37:23-07:00
New Revision: 1658fb4589946203a60861ab05a0300cbedd44f7
URL: https://github.com/llvm/llvm-project/commit/1658fb4589946203a60861ab05a0300cbedd44f7
DIFF: https://github.com/llvm/llvm-project/commit/1658fb4589946203a60861ab05a0300cbedd44f7.diff
LOG: Revert "[SelectionDAG] Implement SDTCisSameAs in verifyNode. (#235157)"
This reverts commit a98c5c2b79b6afe17e831f4962f7f1fa27e9ad86.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp
index 029dd583c2736..f5042aef05483 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp
@@ -277,17 +277,8 @@ void SDNodeInfo::verifyNode(const SelectionDAG &DAG, const SDNode *N) const {
reportNodeError(DAG, N, SS.str());
}
break;
- case SDTCisSameAs: {
- SDNodeValue OtherVal = GetConstraintValue(C.ConstrainingValIdx);
- EVT OtherVT = OtherVal.getValueType();
-
- if (VT != OtherVT) {
- SS << Val << " must have the same type as " << OtherVal << " ("
- << OtherVT << "), but has type " << VT;
- reportNodeError(DAG, N, SS.str());
- }
+ case SDTCisSameAs:
break;
- }
case SDTCisVTSmallerThanOp: {
const auto *VTNode = dyn_cast<VTSDNode>(Val.getValue().getNode());
if (!VTNode) {
More information about the llvm-branch-commits
mailing list