[Mlir-commits] [mlir] [MLIR][NVVM] Add `cmd-options` to pass flags to the downstream compiler (PR #127457)

Durgadoss R llvmlistbot at llvm.org
Mon Feb 17 01:54:35 PST 2025


================
@@ -143,6 +143,9 @@ def GpuNVVMAttachTarget: Pass<"nvvm-attach-target", ""> {
            "Enable flush to zero for denormals.">,
     ListOption<"linkLibs", "l", "std::string",
            "Extra bitcode libraries paths to link to.">,
+    Option<"cmdOptions", "cmd-options", "std::string",
----------------
durga4github wrote:

After going through the usage below, I wonder if we should name this "ptxas-cmd-options" itself ?
(Since others won't understand these options anyway)

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


More information about the Mlir-commits mailing list