[llvm] r226163 - Fix SelectionDAG -view-*-dags filtering

Mehdi Amini mehdi.amini at apple.com
Thu Jan 15 04:03:32 PST 2015


Author: mehdi_amini
Date: Thu Jan 15 06:03:32 2015
New Revision: 226163

URL: http://llvm.org/viewvc/llvm-project?rev=226163&view=rev
Log:
Fix SelectionDAG -view-*-dags filtering


Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=226163&r1=226162&r2=226163&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Thu Jan 15 06:03:32 2015
@@ -659,7 +659,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG
   (void)BlockNumber;
   bool MatchFilterBB = false; (void)MatchFilterBB;
 #ifndef NDEBUG
-  MatchFilterBB = (!FilterDAGBasicBlockName.empty() &&
+  MatchFilterBB = (FilterDAGBasicBlockName.empty() ||
                    FilterDAGBasicBlockName ==
                        FuncInfo->MBB->getBasicBlock()->getName().str());
 #endif





More information about the llvm-commits mailing list