Skip to content

Commit 133352f

Browse files
committed
[test] Remove redundant -march= when target triple is specified in IR
1 parent 6e8718c commit 133352f

26 files changed

+42
-42
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; clang -target aarch64-eabi -O2 -march=armv8.5-a+memtag -fsanitize=memtag -S -emit-llvm test.cc
1+
; clang -target aarch64-eabi -O2 -fsanitize=memtag -S -emit-llvm test.cc
22
; void bar() {
33
; throw 42;
44
; }

llvm/test/CodeGen/Hexagon/autohvx/float-cost.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -march=hexagon -passes=loop-vectorize -hexagon-autohvx -debug-only=loop-vectorize -S < %s 2>&1 | FileCheck %s
1+
; RUN: opt -passes=loop-vectorize -hexagon-autohvx -debug-only=loop-vectorize -S < %s 2>&1 | FileCheck %s
22
; REQUIRES: asserts
33

44
; Check that the cost model makes vectorization non-profitable.

llvm/test/CodeGen/Hexagon/autohvx/interleave.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -march=hexagon -hexagon-autohvx -passes=loop-vectorize -S < %s | FileCheck %s
1+
; RUN: opt -hexagon-autohvx -passes=loop-vectorize -S < %s | FileCheck %s
22
; Check that the loop has been interleaved.
33
; CHECK: store <64 x i32> %interleaved.vec
44

llvm/test/CodeGen/Hexagon/autohvx/maximize-bandwidth.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -march=hexagon -hexagon-autohvx -passes=loop-vectorize -S < %s | FileCheck %s
1+
; RUN: opt -hexagon-autohvx -passes=loop-vectorize -S < %s | FileCheck %s
22
; Check that the loop is vectorized with VF=32.
33
; CHECK: wide.load{{.*}} = load <32 x i32>
44
; CHECK: wide.load{{.*}} = load <32 x i16>

llvm/test/CodeGen/Hexagon/bug15515-shuffle.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -march=hexagon -O2 -S < %s
1+
; RUN: opt -O2 -S < %s
22
; REQUIRES: asserts
33
;
44
; -fvectorize-loops infinite compile/memory

llvm/test/CodeGen/Hexagon/const-pool-tf.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -relocation-model pic -mtriple=hexagon -mcpu=hexagonv60 -O2 -S < %s | llc -march=hexagon -mcpu=hexagonv60 -relocation-model pic
1+
; RUN: opt -relocation-model pic -mtriple=hexagon -mcpu=hexagonv60 -O2 -S < %s | llc -mcpu=hexagonv60 -relocation-model pic
22

33
; CHECK: jumpr
44

llvm/test/CodeGen/Hexagon/glob-align-volatile.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -Os -march=hexagon -S < %s | FileCheck %s
1+
; RUN: opt -Os -S < %s | FileCheck %s
22
; Don't reset the alignment on the struct to 1.
33
; CHECK: align 4
44

llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-infinite-loop.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt -march=hexagon -hexagon-loop-idiom -S < %s | FileCheck %s
2-
; RUN: opt -march=hexagon -p hexagon-loop-idiom -S < %s | FileCheck %s
1+
; RUN: opt -hexagon-loop-idiom -S < %s | FileCheck %s
2+
; RUN: opt -p hexagon-loop-idiom -S < %s | FileCheck %s
33
; CHECK-LABEL: define void @fred
44

55
; Check that this test does not crash.

llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-long-loop.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt -march=hexagon -hexagon-loop-idiom -S < %s | FileCheck %s
2-
; RUN: opt -march=hexagon -p hexagon-loop-idiom -S < %s | FileCheck %s
1+
; RUN: opt -hexagon-loop-idiom -S < %s | FileCheck %s
2+
; RUN: opt -p hexagon-loop-idiom -S < %s | FileCheck %s
33
;
44
; The number of nested selects caused the simplification loop to take
55
; more than the maximum number of iterations. This caused the compiler

llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-mod.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
; the Hexagon loop idiom recognition runs. This is to check that we still
33
; get this opportunity regardless of what happens before.
44

5-
; RUN: opt -O2 -march=hexagon -S < %s | FileCheck %s
6-
; RUN: opt -passes='default<O2>' -march=hexagon -S < %s | FileCheck %s
5+
; RUN: opt -O2 -S < %s | FileCheck %s
6+
; RUN: opt -passes='default<O2>' -S < %s | FileCheck %s
77

88
target triple = "hexagon"
99
target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"

0 commit comments

Comments
 (0)