[llvm] Reland "[NewPM][CodeGen] Port selection dag isel to new pass manager" (PR #94149)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 20:03:21 PDT 2024


================
@@ -804,8 +924,8 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
                    << "'\n";
             CurDAG->dump());
 
-#ifndef NDEBUG
-  if (TTI.hasBranchDivergence())
+#if LLVM_ENABLE_ABI_BREAKING_CHECKS
+  if (TTI->hasBranchDivergence())
     CurDAG->VerifyDAGDivergence();
----------------
paperchalice wrote:

I was assumed here that assertion implies abi breaking checks, sorry for the breaking. 😥

https://github.com/llvm/llvm-project/pull/94149


More information about the llvm-commits mailing list