mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
- 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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user