mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -590,7 +590,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to ICmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert((getOperand(0)->getType()->isIntOrIntVector() ||
|
||||
assert((getOperand(0)->getType()->isIntOrIntVectorTy() ||
|
||||
isa<PointerType>(getOperand(0)->getType())) &&
|
||||
"Invalid operand types for ICmp instruction");
|
||||
}
|
||||
@@ -611,7 +611,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to ICmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert((getOperand(0)->getType()->isIntOrIntVector() ||
|
||||
assert((getOperand(0)->getType()->isIntOrIntVectorTy() ||
|
||||
isa<PointerType>(getOperand(0)->getType())) &&
|
||||
"Invalid operand types for ICmp instruction");
|
||||
}
|
||||
@@ -630,7 +630,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to ICmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert((getOperand(0)->getType()->isIntOrIntVector() ||
|
||||
assert((getOperand(0)->getType()->isIntOrIntVectorTy() ||
|
||||
isa<PointerType>(getOperand(0)->getType())) &&
|
||||
"Invalid operand types for ICmp instruction");
|
||||
}
|
||||
@@ -740,7 +740,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to FCmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert(getOperand(0)->getType()->isFPOrFPVector() &&
|
||||
assert(getOperand(0)->getType()->isFPOrFPVectorTy() &&
|
||||
"Invalid operand types for FCmp instruction");
|
||||
}
|
||||
|
||||
@@ -759,7 +759,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to FCmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert(getOperand(0)->getType()->isFPOrFPVector() &&
|
||||
assert(getOperand(0)->getType()->isFPOrFPVectorTy() &&
|
||||
"Invalid operand types for FCmp instruction");
|
||||
}
|
||||
|
||||
@@ -776,7 +776,7 @@ public:
|
||||
assert(getOperand(0)->getType() == getOperand(1)->getType() &&
|
||||
"Both operands to FCmp instruction are not of the same type!");
|
||||
// Check that the operands are the right type
|
||||
assert(getOperand(0)->getType()->isFPOrFPVector() &&
|
||||
assert(getOperand(0)->getType()->isFPOrFPVectorTy() &&
|
||||
"Invalid operand types for FCmp instruction");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user