aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf2cf7f0f5b456e2c6248e6c5521a9a369a75dd79 (patch)
tree8467066ce9f69afe7435fbb4dcb53a1d85b9effa /lib/CodeGen/IntrinsicLowering.cpp
parenta5bb7e44686795426cee68f94589a272584c8267 (diff)
downloadexternal_llvm-f2cf7f0f5b456e2c6248e6c5521a9a369a75dd79.zip
external_llvm-f2cf7f0f5b456e2c6248e6c5521a9a369a75dd79.tar.gz
external_llvm-f2cf7f0f5b456e2c6248e6c5521a9a369a75dd79.tar.bz2
Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE,
introduced by chandler's patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index d92ee3f..da6a876 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/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