[Mlir-commits] [mlir] [NFC][MLIR][NVVM] Add class for Ops which lower to LLVM intrinsics (PR #172649)

Durgadoss R llvmlistbot at llvm.org
Thu Dec 18 00:54:46 PST 2025


================
@@ -243,6 +243,26 @@ class NVVM_IntrOp<string mnem, list<Trait> traits = [],
                     /*list<int> overloadedOperands=*/[],
                     traits, numResults>;
 
+class NVVM_IntrinsicLoweringOp<string mnemonic, list<Trait> traits = [], bit hasResult = 0> : 
----------------
durga4github wrote:

I think we can have a separate template for VoidTy and that will simplify the llvmBuilder logic below.
That way we do not need the hasResult boolean also

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


More information about the Mlir-commits mailing list