[Mlir-commits] [mlir] [MLIR][NVVM] Add definition for nvvm dialect (PR #156807)
Durgadoss R
llvmlistbot at llvm.org
Thu Sep 4 10:36:21 PDT 2025
================
@@ -35,6 +35,47 @@ def LLVM_PointerSharedCluster : LLVM_PointerInAddressSpace<7>;
//===----------------------------------------------------------------------===//
def NVVM_Dialect : Dialect {
+ let summary = "The NVVM dialect that models NVIDIA's public ISA";
+
+ let description = [{
+ The NVVM dialect is MLIR's LLVM-IR-based, NVIDIA-specific backend dialect. It
+ models NVVM intrinsics and public ISA functionality and introduces NVIDIA
+ extensions to the LLVM type system and address spaces (e.g., global, shared,
+ and cluster memory), enabling faithful lowering of GPU kernels to the NVPTX
+ toolchain. While a NVVM op maps to a single LLVM IR intrinsics, the NVVM dialect uses type
+ polymorphism and other attributes that make it so that a NVVM op can map to different LLVM
+ intrinsics.
----------------
durga4github wrote:
nit: slight wording updates:
```
While an NVVM op usually maps to a single LLVM IR intrinsic, the NVVM dialect uses type
polymorphism and other attributes so that a single NVVM op can map to different LLVM
intrinsics.
```
https://github.com/llvm/llvm-project/pull/156807
More information about the Mlir-commits
mailing list