[llvm] r300327 - [Bugpoint] Use boolean AND instead of bitwise AND (PR32660)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 08:21:16 PDT 2017


Author: rksimon
Date: Fri Apr 14 10:21:15 2017
New Revision: 300327

URL: http://llvm.org/viewvc/llvm-project?rev=300327&view=rev
Log:
[Bugpoint] Use boolean AND instead of bitwise AND (PR32660)

Modified:
    llvm/trunk/tools/bugpoint/CrashDebugger.cpp

Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=300327&r1=300326&r2=300327&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)
+++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Fri Apr 14 10:21:15 2017
@@ -1113,7 +1113,7 @@ static Error DebugACrash(BugDriver &BD,
       BD.EmitProgressBitcode(BD.getProgram(), "reduced-blocks");
   }
 
-  if (!DisableSimplifyCFG & !BugpointIsInterrupted) {
+  if (!DisableSimplifyCFG && !BugpointIsInterrupted) {
     std::vector<const BasicBlock *> Blocks;
     for (Function &F : *BD.getProgram())
       for (BasicBlock &BB : F)




More information about the llvm-commits mailing list