summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-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