This makes the flags consistent with the naming scheme used elsewhere in the
codebase for dialect conversions.
PiperOrigin-RevId:
281027517
}
static PassRegistration<LowerGpuOpsToNVVMOpsPass>
- pass("lower-gpu-ops-to-nvvm-ops",
- "Generate NVVM operations for gpu operations");
+ pass("convert-gpu-to-nvvm", "Generate NVVM operations for gpu operations");
}
static PassRegistration<LowerGpuOpsToROCDLOpsPass>
- pass("lower-gpu-ops-to-rocdl-ops",
+ pass("convert-gpu-to-rocdl",
"Generate ROCDL operations for gpu operations");
-// RUN: mlir-opt %s -lower-gpu-ops-to-nvvm-ops -split-input-file | FileCheck %s
+// RUN: mlir-opt %s -convert-gpu-to-nvvm -split-input-file | FileCheck %s
module attributes {gpu.kernel_module} {
// CHECK-LABEL: func @gpu_index_ops()
-// RUN: mlir-opt %s -lower-gpu-ops-to-rocdl-ops -split-input-file | FileCheck %s
+// RUN: mlir-opt %s -convert-gpu-to-rocdl -split-input-file | FileCheck %s
module attributes {gpu.kernel_module} {
// CHECK-LABEL: func @gpu_index_ops()