From 460f16c6253928519689e882a4dbb7f236f33294 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 18 Jul 2004 00:32:14 +0000 Subject: bug 122: - Minimize redundant isa usage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14948 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/SimplifyCFG.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp') diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index c3ed43d1f0..cc28e54c37 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -211,8 +211,7 @@ static bool DominatesMergePoint(Value *V, BasicBlock *BB, bool AllowAggressive){ if (cast(I)->isVolatile()) return false; if (!isa(I->getOperand(0)) && - !isa(I->getOperand(0)) && - !isa(I->getOperand(0))) + !isa(I->getOperand(0))) return false; // Finally, we have to check to make sure there are no instructions -- cgit v1.2.3