Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp =================================================================== --- llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -2645,7 +2645,7 @@ } // Quit if we can't remove this instruction. if (!tryCSEWithPredecessor(Curr, PB)) - return false; + return Changed; Changed = true; } }