[clang] [clang] Implement __builtin_{clzg,ctzg} (PR #83431)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 29 14:55:58 PST 2024


================
@@ -3157,7 +3177,15 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
     if (Result->getType() != ResultType)
----------------
efriedma-quic wrote:

Not sure if the way this is handling isCLZForZeroUndef() is what you want?

https://github.com/llvm/llvm-project/pull/83431


More information about the cfe-commits mailing list