Skip to content

Commit b662916

Browse files
committed
simplify codegen
1 parent 65bdc4c commit b662916

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,10 +1704,7 @@ static llvm::Value *EmitBitCountExpr(CodeGenFunction &CGF, const Expr *E) {
17041704
VT && VT->getElementType()->isIntegerTy(1)) {
17051705
llvm::Type *StorageType =
17061706
llvm::Type::getIntNTy(CGF.getLLVMContext(), VT->getNumElements());
1707-
ArgValue = CGF.emitBoolVecConversion(
1708-
ArgValue, StorageType->getPrimitiveSizeInBits(), "insertvec");
17091707
ArgValue = CGF.Builder.CreateBitCast(ArgValue, StorageType);
1710-
ArgType = ArgValue->getType();
17111708
}
17121709

17131710
return ArgValue;

0 commit comments

Comments
 (0)