forked from OSchip/llvm-project
Rename CLI flags -lower-gpu-ops-to-*-ops to -convert-gpu-to-*
This makes the flags consistent with the naming scheme used elsewhere in the codebase for dialect conversions. PiperOrigin-RevId: 281027517
This commit is contained in:
parent
8ec002cbec
commit
b8dc3fd812
|
@ -501,5 +501,4 @@ std::unique_ptr<OpPassBase<ModuleOp>> mlir::createLowerGpuOpsToNVVMOpsPass() {
|
|||
}
|
||||
|
||||
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");
|
||||
|
|
|
@ -80,5 +80,5 @@ std::unique_ptr<OpPassBase<ModuleOp>> mlir::createLowerGpuOpsToROCDLOpsPass() {
|
|||
}
|
||||
|
||||
static PassRegistration<LowerGpuOpsToROCDLOpsPass>
|
||||
pass("lower-gpu-ops-to-rocdl-ops",
|
||||
pass("convert-gpu-to-rocdl",
|
||||
"Generate ROCDL operations for gpu operations");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// 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()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// 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()
|
||||
|
|
Loading…
Reference in New Issue