From 49cc1ce73d487dc68142ffbd41ef90c353120376 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 3 Oct 2018 03:38:22 +0000 Subject: [PATCH] [AMDGPU] Rename pass "isel" to "amdgpu-isel" Summary: The AMDGPU target specific pass "isel" is a misleading name. Reviewers: tstellar, echristo, javed.absar, arsenm Reviewed By: arsenm Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D52759 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343659 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 4 ++-- test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll | 2 +- test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp b/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp index e8282099d9e..4010b77172c 100644 --- a/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp +++ b/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp @@ -242,12 +242,12 @@ protected: } // end anonymous namespace -INITIALIZE_PASS_BEGIN(AMDGPUDAGToDAGISel, "isel", +INITIALIZE_PASS_BEGIN(AMDGPUDAGToDAGISel, "amdgpu-isel", "AMDGPU DAG->DAG Pattern Instruction Selection", false, false) INITIALIZE_PASS_DEPENDENCY(AMDGPUArgumentUsageInfo) INITIALIZE_PASS_DEPENDENCY(AMDGPUPerfHintAnalysis) INITIALIZE_PASS_DEPENDENCY(LegacyDivergenceAnalysis) -INITIALIZE_PASS_END(AMDGPUDAGToDAGISel, "isel", +INITIALIZE_PASS_END(AMDGPUDAGToDAGISel, "amdgpu-isel", "AMDGPU DAG->DAG Pattern Instruction Selection", false, false) /// This pass converts a legalized DAG into a AMDGPU-specific diff --git a/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll b/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll index ef36bada61c..b34b18f67c8 100644 --- a/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll +++ b/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -stop-after=isel -o - %s | FileCheck -check-prefix=GCN %s +; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -stop-after=amdgpu-isel -o - %s | FileCheck -check-prefix=GCN %s ; Type legalization for illegal FP type results was dropping invariant ; and dereferenceable flags. diff --git a/test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll b/test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll index a56ae204005..2bcd41bb022 100644 --- a/test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll +++ b/test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=amdgcn--amdpal -mcpu=fiji -print-after=isel -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=SI %s +; RUN: llc -mtriple=amdgcn--amdpal -mcpu=fiji -print-after=amdgpu-isel -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=SI %s ; This checks that the -print-after of MIR containing a target custom pseudo ; value works correctly.