[flang-commits] [flang] [llvm] [mlir] [NFC][mlir] move NVVM dialect to mlir/lib/Dialect/NVVM/IR (PR #206570)

Krzysztof Drewniak via flang-commits flang-commits at lists.llvm.org
Mon Jun 29 12:49:31 PDT 2026


krzysz00 wrote:

> I'm not sure I'm totally onboard with the current direction: these dialects were intentionally positioned as sub-dialects of LLVM IR: they actually model LLVM intrinsics as dialect and as such are part of LLVM IR modeling.

On the other hand, LLVM itself lets you skip targets you're not going to use. Sure, that leaves the intrinsic definitions in, but I can very much agree that if you're not targetting NVVM/AMDGPU/... you shouldn't be getting an OptimizeForX.

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


More information about the flang-commits mailing list