Skip to content

Commit cc9ba56

Browse files
authored
[test] -march -> -mtriple (#67741)
Similar to 806761a
1 parent a514c30 commit cc9ba56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+51
-51
lines changed

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV32I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV64I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -mattr=+m -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv32 -mattr=+m -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV32I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+m -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv64 -mattr=+m -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV64I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/copy32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV32I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/copy64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV64I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/phi-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV32I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/phi-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
2+
# RUN: llc -mtriple=riscv64 -run-pass=instruction-select -simplify-mir -verify-machineinstrs %s -o - \
33
# RUN: | FileCheck -check-prefix=RV64I %s
44

55
---

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/alu-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -mattr=+m -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -mattr=+m -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/alu-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+m -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -mattr=+m -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/copy-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/copy-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/ext-trunc-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/global-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/global-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/load-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/load-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/phi-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/phi-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/select-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/select-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/store-rv32.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv32 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV32I %s
55

llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/store-rv64.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=regbankselect \
2+
# RUN: llc -mtriple=riscv64 -run-pass=regbankselect \
33
# RUN: -disable-gisel-legality-check -simplify-mir -verify-machineinstrs %s \
44
# RUN: -o - | FileCheck -check-prefix=RV64I %s
55

llvm/test/CodeGen/RISCV/copy-frameindex.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -debugify-and-strip-all-safe -run-pass machine-sink %s -o - 2>&1 | FileCheck %s
2+
# RUN: llc -mtriple=riscv64 -debugify-and-strip-all-safe -run-pass machine-sink %s -o - 2>&1 | FileCheck %s
33

44
--- |
55
define void @sink_addi_fi(i32 %0) !dbg !5 {

llvm/test/CodeGen/RISCV/live-sp.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -run-pass=prologepilog -simplify-mir -o - %s | FileCheck %s
2+
# RUN: llc -mtriple=riscv64 -run-pass=prologepilog -simplify-mir -o - %s | FileCheck %s
33
# verify live-on-entry registers are not marked killed by spills
44
--- |
55

llvm/test/CodeGen/RISCV/machine-outliner-cfi.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
1+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
22
# RUN: | FileCheck -check-prefixes=OUTLINED,RV32I-MO %s
3-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
3+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
44
# RUN: | FileCheck -check-prefixes=OUTLINED,RV64I-MO %s
55

66
# CFIs are invisible (they can be outlined, but won't actually impact the outlining result) if there

llvm/test/CodeGen/RISCV/machine-outliner-position.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
2+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
33
# RUN: | FileCheck -check-prefixes=RV32I-MO %s
4-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
4+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
55
# RUN: | FileCheck -check-prefixes=RV64I-MO %s
66

77
# Position instructions are illegal to outline. The first instruction won't be outlined

llvm/test/CodeGen/RISCV/machineoutliner-jumptable.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
1+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
22
# RUN: | FileCheck -check-prefix=RV32I-MO %s
3-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
3+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
44
# RUN: | FileCheck -check-prefix=RV64I-MO %s
55

66
--- |

llvm/test/CodeGen/RISCV/machineoutliner-pcrel-lo.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
2+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
33
# RUN: | FileCheck %s
4-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
4+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
55
# RUN: | FileCheck %s
6-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs < %s \
6+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs < %s \
77
# RUN: | FileCheck -check-prefix=CHECK-FS %s
8-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs < %s \
8+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs < %s \
99
# RUN: | FileCheck -check-prefix=CHECK-FS %s
1010

1111
--- |

llvm/test/CodeGen/RISCV/machineoutliner.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# RUN: llc -march=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
1+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
22
# RUN: | FileCheck -check-prefixes=CHECK,RV32I-MO %s
3-
# RUN: llc -march=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
3+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
44
# RUN: | FileCheck -check-prefixes=CHECK,RV64I-MO %s
55

66
--- |

llvm/test/CodeGen/RISCV/rvv/addi-scalable-offset.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+v -stop-after=prologepilog %s -o - 2>&1 | FileCheck %s
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -stop-after=prologepilog %s -o - 2>&1 | FileCheck %s
33

44
--- |
55
define void @add_scalable_offset(

llvm/test/CodeGen/RISCV/rvv/commuted-op-indices-regression.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+v -run-pass=register-coalescer %s -o - 2>&1 | FileCheck %s
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -run-pass=register-coalescer %s -o - 2>&1 | FileCheck %s
33

44
# This test used to crash in the register coalescer when the target would
55
# return the out-of-bounds CommuteAnyOperandIndex for one of its commutable

llvm/test/CodeGen/RISCV/rvv/get-vlen-debugloc.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+v -o - %s \
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -o - %s \
33
# RUN: -stop-after=prologepilog | FileCheck %s
44

55
--- |

llvm/test/CodeGen/RISCV/rvv/mask-reg-alloc.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+v -verify-machineinstrs \
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs \
33
# RUN: -start-after finalize-isel -stop-after prologepilog -o - %s | FileCheck %s
44

55
--- |

llvm/test/CodeGen/RISCV/rvv/zvlsseg-spill.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv64 -mattr=+v -stop-after=prologepilog %s -o - 2>&1 | FileCheck %s
2+
# RUN: llc -mtriple=riscv64 -mattr=+v -stop-after=prologepilog %s -o - 2>&1 | FileCheck %s
33

44
--- |
55
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"

llvm/test/CodeGen/RISCV/stack-inst-compress.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
2-
# RUN: llc -march=riscv32 -x mir -run-pass=prologepilog -verify-machineinstrs < %s \
2+
# RUN: llc -mtriple=riscv32 -x mir -run-pass=prologepilog -verify-machineinstrs < %s \
33
# RUN: | FileCheck -check-prefixes=CHECK-RV32-NO-COM %s
4-
# RUN: llc -march=riscv32 -mattr=+c -x mir -run-pass=prologepilog \
4+
# RUN: llc -mtriple=riscv32 -mattr=+c -x mir -run-pass=prologepilog \
55
# RUN: -verify-machineinstrs < %s | FileCheck -check-prefixes=CHECK-RV32-COM %s
6-
# RUN: llc -march=riscv64 -x mir -run-pass=prologepilog -verify-machineinstrs < %s \
6+
# RUN: llc -mtriple=riscv64 -x mir -run-pass=prologepilog -verify-machineinstrs < %s \
77
# RUN: | FileCheck -check-prefixes=CHECK-RV64-NO-COM %s
8-
# RUN: llc -march=riscv64 -mattr=+c -x mir -run-pass=prologepilog \
8+
# RUN: llc -mtriple=riscv64 -mattr=+c -x mir -run-pass=prologepilog \
99
# RUN: -verify-machineinstrs < %s | FileCheck -check-prefixes=CHECK-RV64-COM %s
1010
--- |
1111
define dso_local void @_Z15stack_size_2048v() {

llvm/test/CodeGen/RISCV/stack-slot-coloring.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
# RUN: llc -march=riscv32 -run-pass=greedy,virtregrewriter,stack-slot-coloring %s -o - 2>&1 | FileCheck %s
2+
# RUN: llc -mtriple=riscv32 -run-pass=greedy,virtregrewriter,stack-slot-coloring %s -o - 2>&1 | FileCheck %s
33

44
--- |
55
define dso_local i32 @main() local_unnamed_addr {

llvm/test/CodeGen/RISCV/verify-instr.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: not --crash llc -march=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s
1+
# RUN: not --crash llc -mtriple=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s
22

33
# CHECK: *** Bad machine code: Invalid immediate ***
44
# CHECK: - instruction: $x2 = ADDI $x1, 10000

llvm/test/MachineVerifier/test_g_brindirect_is_indirect_branch.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -march=riscv32 -o - -run-pass=none -verify-machineinstrs %s | FileCheck %s
1+
# RUN: llc -mtriple=riscv32 -o - -run-pass=none -verify-machineinstrs %s | FileCheck %s
22
# REQUIRES: riscv-registered-target
33

44
# This test checks that the G_BRINDIRECT is an indirect branch by leveraging

llvm/test/MachineVerifier/test_g_brjt_is_indirect_branch.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -march=riscv32 -o - -run-pass=none -verify-machineinstrs %s | FileCheck %s
1+
# RUN: llc -mtriple=riscv32 -o - -run-pass=none -verify-machineinstrs %s | FileCheck %s
22
# REQUIRES: riscv-registered-target
33

44
# This test checks that the G_BRJT is an indirect branch by leveraging RISCV's

llvm/test/Transforms/InterleavedAccess/RISCV/zvl32b.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt < %s -march=riscv32 -mattr=+zve32x,+zvl32b -interleaved-access -S | FileCheck %s -check-prefix=ZVL32B
2+
; RUN: opt < %s -mtriple=riscv32 -mattr=+zve32x,+zvl32b -interleaved-access -S | FileCheck %s -check-prefix=ZVL32B
33
; RUN: opt < %s -mtriple=riscv32 -mattr=+zve32x,+zvl128b -interleaved-access -S | FileCheck %s -check-prefix=ZVL128B
44

55
; Make sure that we don't lower interleaved loads that won't fit into the minimum vlen

0 commit comments

Comments
 (0)