commit | 96f1d8ebdd33b3f9bdb3b1163f36072c68599f42 | [log] [tgz] |
---|---|---|
author | Gabor Greif <ggreif@gmail.com> | Thu Jul 22 13:36:47 2010 +0000 |
committer | Gabor Greif <ggreif@gmail.com> | Thu Jul 22 13:36:47 2010 +0000 |
tree | 86a40f3abd0a781fd38106bc6f9b3137ccab1787 | |
parent | 907cd1a569c4b3aa8451ea509f6b1018134884d3 [diff] [blame] |
mass elimination of reliance on automatic iterator dereferencing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109103 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopIndexSplit.cpp b/lib/Transforms/Scalar/LoopIndexSplit.cpp index c3a3870..2a52c99 100644 --- a/lib/Transforms/Scalar/LoopIndexSplit.cpp +++ b/lib/Transforms/Scalar/LoopIndexSplit.cpp
@@ -1183,7 +1183,7 @@ bool usedOutsideBB = false; for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); UI != UE; ++UI) { - Instruction *U = cast<Instruction>(UI); + Instruction *U = cast<Instruction>(*UI); if (U->getParent() != BB) usedOutsideBB = true; }