diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:08:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:08:28 +0000 |
commit | b0b412e66ecbb0b374e3d034049b9d18b198473c (patch) | |
tree | 507b70221ac79e11ffb2be35db9e7b0113b3762e /llvm/lib/Transforms/LevelRaise.cpp | |
parent | bc6bdc2992c404b5dc268718368d9298f67b2948 (diff) | |
download | bcm5719-llvm-b0b412e66ecbb0b374e3d034049b9d18b198473c.tar.gz bcm5719-llvm-b0b412e66ecbb0b374e3d034049b9d18b198473c.zip |
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
llvm-svn: 3574
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
-rw-r--r-- | llvm/lib/Transforms/LevelRaise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp index 327735c0586..8a08e9d2cf3 100644 --- a/llvm/lib/Transforms/LevelRaise.cpp +++ b/llvm/lib/Transforms/LevelRaise.cpp @@ -165,7 +165,7 @@ static bool PeepholeOptimizeAddCast(BasicBlock *BB, BasicBlock::iterator &BI, } // Only proceed if we have detected all of our conditions successfully... - if (!CompTy || !SrcPtr || !OffsetVal->getType()->isIntegral()) + if (!CompTy || !SrcPtr || !OffsetVal->getType()->isInteger()) return false; std::vector<Value*> Indices; |