summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-06 16:36:18 +0000
committerChris Lattner <sabre@nondot.org>2007-08-06 16:36:18 +0000
commit079ebcfae5b5375f9cb3bb2a0f0ed1114b5b7b28 (patch)
tree6b7528b560784339201f0bf868035b60f26eb7d8 /llvm/lib/CodeGen/IntrinsicLowering.cpp
parent2e5fb9f71e44a1e7dc6a05315ae6e0c48d4a90b3 (diff)
downloadbcm5719-llvm-079ebcfae5b5375f9cb3bb2a0f0ed1114b5b7b28.tar.gz
bcm5719-llvm-079ebcfae5b5375f9cb3bb2a0f0ed1114b5b7b28.zip
Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE,
introduced by chandler's patch. llvm-svn: 40864
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp
index d92ee3fbbc1..da6a876e83d 100644
--- a/llvm/lib/CodeGen/IntrinsicLowering.cpp
+++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp
@@ -231,7 +231,7 @@ static Value *LowerCTPOP(Value *V, Instruction *IP) {
}
}
- return CastInst::createIntegerCast(Count, Type::Int32Ty, false, "ctpop", IP);
+ return Count;
}
/// LowerCTLZ - Emit the code to lower ctlz of V before the specified
OpenPOWER on IntegriCloud