commit | 40e9c3fd3807d52b2aa85be77a077b57c2afe159 | [log] [tgz] |
---|---|---|
author | Gabor Greif <ggreif@gmail.com> | Fri Oct 12 07:44:54 2007 +0000 |
committer | Gabor Greif <ggreif@gmail.com> | Fri Oct 12 07:44:54 2007 +0000 |
tree | 865f3a9d6d77d43295e46145690dcdaf7f96173c | |
parent | c59171a9117a79dde3c304f81476b9ee613125b4 [diff] [blame] |
eliminate warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42892 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 9e29057..2c88279 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -8643,7 +8643,7 @@ // converted to match the type of the cast, don't touch this. if (isa<AllocationInst>(BCI->getOperand(0))) { // See if the bitcast simplifies, if so, don't nuke this GEP yet. - if (Instruction *I = visitBitCast(*BCI)) + if (visitBitCast(*BCI)) return &GEP; } return new BitCastInst(BCI->getOperand(0), GEP.getType());