diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-15 02:27:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-15 02:27:26 +0000 |
| commit | 03c4953cdd0dc8f0d8379488c46fd65e96dd5b86 (patch) | |
| tree | 39bdfdfe809d0c5e7b06cd2d7e19d1036f1c3d54 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
| parent | c1be5ac420bb53ee5c6a220256d09c92877e5d9e (diff) | |
| download | bcm5719-llvm-03c4953cdd0dc8f0d8379488c46fd65e96dd5b86.tar.gz bcm5719-llvm-03c4953cdd0dc8f0d8379488c46fd65e96dd5b86.zip | |
rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.
rename Type::getIntegralTypeMask to Type::getIntegerTypeMask.
This makes naming much more consistent. For example, there are now no longer any
instances of IntegerType that are not considered isInteger! :)
llvm-svn: 33225
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index fcc5630ef86..798fb81190f 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -398,7 +398,7 @@ static bool IVUseShouldUsePostIncValue(Instruction *User, Instruction *IV, /// return true. Otherwise, return false. bool LoopStrengthReduce::AddUsersIfInteresting(Instruction *I, Loop *L, std::set<Instruction*> &Processed) { - if (!I->getType()->isIntegral() && !isa<PointerType>(I->getType())) + if (!I->getType()->isInteger() && !isa<PointerType>(I->getType())) return false; // Void and FP expressions cannot be reduced. if (!Processed.insert(I).second) return true; // Instruction already handled. |

