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) { _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
