================ @@ -3157,7 +3177,15 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID, if (Result->getType() != ResultType) ---------------- overmighty wrote:
Since in the additions below I check if the argument itself is zero instead of checking the result of `ctlz`, I don't see why the `ctlz` result for zero being undefined would be a problem. https://github.com/llvm/llvm-project/pull/83431 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits