From f84d5ab5df5900dcaf90df8d83c16b6cea22f087 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 30 Jul 2005 00:21:31 +0000 Subject: [PATCH] Ack, typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22560 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 6df3e782c82..090bf1b0092 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -331,7 +331,7 @@ void LoopStrengthReduce::AnalyzeGetElementPtrUsers(GetElementPtrInst *GEP, /// reducible SCEV, recursively add its users to the IVUsesByStride set and /// return true. Otherwise, return false. bool LoopStrengthReduce::AddUsersIfInteresting(Instruction *I, Loop *L) { - if (I->getType() == Type::VoidTy) return false + if (I->getType() == Type::VoidTy) return false; SCEVHandle ISE = SE->getSCEV(I); if (!CanReduceSCEV(ISE, L)) return false; -- 2.34.1