Skip to content

Commit 2a67276

Browse files
committed
Prefix some AArch64/ARM passes with "aarch64-"/"arm-"
For consistency with other target specific passes. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D84560
1 parent d19af2f commit 2a67276

16 files changed

+23
-23
lines changed

llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
using namespace llvm;
5656

57-
#define DEBUG_TYPE "falkor-hwpf-fix"
57+
#define DEBUG_TYPE "aarch64-falkor-hwpf-fix"
5858

5959
STATISTIC(NumStridedLoadsMarked, "Number of strided loads marked");
6060
STATISTIC(NumCollisionsAvoided,
@@ -224,10 +224,10 @@ struct LoadInfo {
224224

225225
char FalkorHWPFFix::ID = 0;
226226

227-
INITIALIZE_PASS_BEGIN(FalkorHWPFFix, "falkor-hwpf-fix-late",
227+
INITIALIZE_PASS_BEGIN(FalkorHWPFFix, "aarch64-falkor-hwpf-fix-late",
228228
"Falkor HW Prefetch Fix Late Phase", false, false)
229229
INITIALIZE_PASS_DEPENDENCY(MachineLoopInfo)
230-
INITIALIZE_PASS_END(FalkorHWPFFix, "falkor-hwpf-fix-late",
230+
INITIALIZE_PASS_END(FalkorHWPFFix, "aarch64-falkor-hwpf-fix-late",
231231
"Falkor HW Prefetch Fix Late Phase", false, false)
232232

233233
static unsigned makeTag(unsigned Dest, unsigned Base, unsigned Offset) {

llvm/lib/Target/AArch64/AArch64StackTagging.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
using namespace llvm;
6161

62-
#define DEBUG_TYPE "stack-tagging"
62+
#define DEBUG_TYPE "aarch64-stack-tagging"
6363

6464
static cl::opt<bool> ClMergeInit(
6565
"stack-tagging-merge-init", cl::Hidden, cl::init(true), cl::ZeroOrMore,

llvm/lib/Target/AArch64/AArch64TargetMachine.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ static cl::opt<int> EnableGlobalISelAtO(
148148
cl::desc("Enable GlobalISel at or below an opt level (-1 to disable)"),
149149
cl::init(0));
150150

151-
static cl::opt<bool> EnableSVEIntrinsicOpts(
152-
"aarch64-sve-intrinsic-opts", cl::Hidden,
153-
cl::desc("Enable SVE intrinsic opts"),
154-
cl::init(true));
151+
static cl::opt<bool>
152+
EnableSVEIntrinsicOpts("aarch64-enable-sve-intrinsic-opts", cl::Hidden,
153+
cl::desc("Enable SVE intrinsic opts"),
154+
cl::init(true));
155155

156156
static cl::opt<bool> EnableFalkorHWPFFix("aarch64-enable-falkor-hwpf-fix",
157157
cl::init(true), cl::Hidden);

llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
using namespace llvm;
3838
using namespace llvm::PatternMatch;
3939

40-
#define DEBUG_TYPE "sve-intrinsic-opts"
40+
#define DEBUG_TYPE "aarch64-sve-intrinsic-opts"
4141

4242
namespace llvm {
4343
void initializeSVEIntrinsicOptsPass(PassRegistry &);

llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
using namespace llvm;
4646

47-
#define DEBUG_TYPE "mve-gather-scatter-lowering"
47+
#define DEBUG_TYPE "arm-mve-gather-scatter-lowering"
4848

4949
cl::opt<bool> EnableMaskedGatherScatters(
5050
"enable-arm-maskedgatscat", cl::Hidden, cl::init(false),

llvm/test/CodeGen/AArch64/falkor-hwpf-fix.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -mtriple=aarch64-linux-gnu -mcpu=falkor -run-pass falkor-hwpf-fix-late -o - %s | FileCheck %s
1+
# RUN: llc -mtriple=aarch64-linux-gnu -mcpu=falkor -run-pass aarch64-falkor-hwpf-fix-late -o - %s | FileCheck %s
22
---
33
# Verify that the tag collision between the loads is resolved for various load opcodes.
44

llvm/test/CodeGen/AArch64/falkor-hwpf.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt < %s -S -falkor-hwpf-fix -mtriple aarch64 -mcpu=falkor | FileCheck %s
2-
; RUN: opt < %s -S -falkor-hwpf-fix -mtriple aarch64 -mcpu=cortex-a57 | FileCheck %s --check-prefix=NOHWPF
1+
; RUN: opt < %s -S -aarch64-falkor-hwpf-fix -mtriple aarch64 -mcpu=falkor | FileCheck %s
2+
; RUN: opt < %s -S -aarch64-falkor-hwpf-fix -mtriple aarch64 -mcpu=cortex-a57 | FileCheck %s --check-prefix=NOHWPF
33

44
; Check that strided access metadata is added to loads in inner loops when compiling for Falkor.
55

llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -stack-tagging -S -o - | FileCheck %s
1+
; RUN: opt < %s -aarch64-stack-tagging -S -o - | FileCheck %s
22

33
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
44
target triple = "aarch64--linux-android"

llvm/test/CodeGen/AArch64/stack-tagging-ex-1.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -stack-tagging %s -o - | FileCheck %s
1+
; RUN: opt -S -aarch64-stack-tagging %s -o - | FileCheck %s
22

33
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
44
target triple = "aarch64-arm-unknown-eabi"

llvm/test/CodeGen/AArch64/stack-tagging-ex-2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
; return 0;
2525
; }
2626

27-
; RUN: opt -S -stack-tagging %s -o - | FileCheck %s
27+
; RUN: opt -S -aarch64-stack-tagging %s -o - | FileCheck %s
2828

2929
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
3030
target triple = "aarch64-unknown-unknown-eabi"

llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -stack-tagging -S -o - | FileCheck %s
1+
; RUN: opt < %s -aarch64-stack-tagging -S -o - | FileCheck %s
22

33
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
44
target triple = "aarch64--linux-android"

llvm/test/CodeGen/AArch64/stack-tagging-untag-placement.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;; RUN: opt -S -stack-tagging %s -o - | FileCheck %s
1+
;; RUN: opt -S -aarch64-stack-tagging %s -o - | FileCheck %s
22
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
33
target triple = "aarch64-arm-unknown-eabi"
44

llvm/test/CodeGen/AArch64/stack-tagging.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt < %s -stack-tagging -S -o - | FileCheck %s --check-prefixes=CHECK,SSI
2-
; RUN: opt < %s -stack-tagging -stack-tagging-use-stack-safety=0 -S -o - | FileCheck %s --check-prefixes=CHECK,NOSSI
1+
; RUN: opt < %s -aarch64-stack-tagging -S -o - | FileCheck %s --check-prefixes=CHECK,SSI
2+
; RUN: opt < %s -aarch64-stack-tagging -stack-tagging-use-stack-safety=0 -S -o - | FileCheck %s --check-prefixes=CHECK,NOSSI
33

44
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
55
target triple = "aarch64--linux-android"

llvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -sve-intrinsic-opts -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck --check-prefix OPT %s
1+
; RUN: opt -S -aarch64-sve-intrinsic-opts -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck --check-prefix OPT %s
22
; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
33

44
; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.

llvm/test/CodeGen/AArch64/sve-intrinsic-opts-reinterpret.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -sve-intrinsic-opts -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck --check-prefix OPT %s
1+
; RUN: opt -S -aarch64-sve-intrinsic-opts -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck --check-prefix OPT %s
22
; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
33

44
; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.

llvm/test/CodeGen/Thumb2/mve-gather-optimisation-deep.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
22

33

4-
; RUN: opt --mve-gather-scatter-lowering -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp -enable-arm-maskedgatscat %s -S -o 2>/dev/null - | FileCheck %s
4+
; RUN: opt --arm-mve-gather-scatter-lowering -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp -enable-arm-maskedgatscat %s -S -o 2>/dev/null - | FileCheck %s
55

66
define arm_aapcs_vfpcc void @push_out_add_sub_block(i32* noalias nocapture readonly %data, i32* noalias nocapture %dst, i32 %n.vec) {
77
; CHECK-LABEL: @push_out_add_sub_block(

0 commit comments

Comments
 (0)