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:
Alex Zinenko 2019-11-18 02:42:39 -08:00 committed by A. Unique TensorFlower
parent 8ec002cbec
commit b8dc3fd812
4 changed files with 4 additions and 5 deletions

View File

@ -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");

View File

@ -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");

View File

@ -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()

View File

@ -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()