Skip to content

Commit d43dd30

Browse files
committed
fixup! [clang] Implement __builtin_popcountg
1 parent 62d3883 commit d43dd30

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3218,10 +3218,6 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
32183218
case Builtin::BI__builtin_popcountl:
32193219
case Builtin::BI__builtin_popcountll:
32203220
case Builtin::BI__builtin_popcountg: {
3221-
if (BuiltinIDIfNoAsmLabel == Builtin::BI__builtin_popcountg) {
3222-
assert(E->getNumArgs() == 1 && "__builtin_popcountg takes 1 argument");
3223-
}
3224-
32253221
Value *ArgValue = EmitScalarExpr(E->getArg(0));
32263222

32273223
llvm::Type *ArgType = ArgValue->getType();

0 commit comments

Comments
 (0)