Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE,
introduced by chandler's patch.
llvm-svn: 40864
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp
index d92ee3f..da6a876 100644
--- a/llvm/lib/CodeGen/IntrinsicLowering.cpp
+++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp
@@ -231,7 +231,7 @@
}
}
- return CastInst::createIntegerCast(Count, Type::Int32Ty, false, "ctpop", IP);
+ return Count;
}
/// LowerCTLZ - Emit the code to lower ctlz of V before the specified