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

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 05:32:21 PST 2024


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

Right. Is it worth making tests for this with a target where `isCLZForZeroUndef()` is false?

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


More information about the cfe-commits mailing list