[llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Jan 14 18:03:35 PST 2007
Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.57 -> 1.58
---
Log message:
eliminate calls to Type::isInteger, preferring isIntegral instead.
---
Diffs of the changes: (+2 -2)
IntrinsicLowering.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/IntrinsicLowering.cpp
diff -u llvm/lib/CodeGen/IntrinsicLowering.cpp:1.57 llvm/lib/CodeGen/IntrinsicLowering.cpp:1.58
--- llvm/lib/CodeGen/IntrinsicLowering.cpp:1.57 Sun Jan 7 02:52:43 2007
+++ llvm/lib/CodeGen/IntrinsicLowering.cpp Sun Jan 14 20:03:16 2007
@@ -107,7 +107,7 @@
/// LowerBSWAP - Emit the code to lower bswap of V before the specified
/// instruction IP.
static Value *LowerBSWAP(Value *V, Instruction *IP) {
- assert(V->getType()->isInteger() && "Can't bswap a non-integer type!");
+ assert(V->getType()->isIntegral() && "Can't bswap a non-integer type!");
unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
@@ -193,7 +193,7 @@
/// LowerCTPOP - Emit the code to lower ctpop of V before the specified
/// instruction IP.
static Value *LowerCTPOP(Value *V, Instruction *IP) {
- assert(V->getType()->isInteger() && "Can't ctpop a non-integer type!");
+ assert(V->getType()->isIntegral() && "Can't ctpop a non-integer type!");
static const uint64_t MaskValues[6] = {
0x5555555555555555ULL, 0x3333333333333333ULL,
More information about the llvm-commits
mailing list