[Mlir-commits] [mlir] [MLIR][NVVM] Add `nvvm.lg2` OP (PR #193789)

Durgadoss R llvmlistbot at llvm.org
Fri Apr 24 09:40:18 PDT 2026


================
@@ -558,6 +558,20 @@ def NVVM_CosOp : NVVM_SingleResultIntrinsicOp<"cos",
   let assemblyFormat = "$src attr-dict `:` type($src)";
 }
 
+def NVVM_Lg2Op : NVVM_SingleResultIntrinsicOp<"lg2",
----------------
durga4github wrote:

nit: may be name it `log2` itself?

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


More information about the Mlir-commits mailing list