diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 12af5b04d59..986a53f11ff 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -232,6 +232,12 @@ static bool DominatesMergePoint(Value *V, BasicBlock *BB, case Instruction::Xor: case Instruction::Shl: case Instruction::Shr: + case Instruction::SetEQ: + case Instruction::SetNE: + case Instruction::SetLT: + case Instruction::SetGT: + case Instruction::SetLE: + case Instruction::SetGE: break; // These are all cheap and non-trapping instructions. }