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 | 0c4e886dbf1cf7736819a49d5143ae1c2a0cfb79 (patch) | |
tree | f48443d191cddb7b196d7b0fa211607e58c77689 /lib/Transforms/LevelRaise.cpp | |
parent | 65ad37205ef6958e07f57f85d1b5070ed1d93d1d (diff) |
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/LevelRaise.cpp')
-rw-r--r-- | lib/Transforms/LevelRaise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp index 327735c058..8a08e9d2cf 100644 --- a/lib/Transforms/LevelRaise.cpp +++ b/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; |