Skip to content

Commit 65f946c

Browse files
committed
[RISCV] Fix some GlobalISel tests using -march instead of -mtriple.
This caused llc to assume the wrong target triple and broke some internal AS sanitizer bots.
1 parent 5070c1e commit 65f946c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/icmp-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 \
2+
# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir \
33
# RUN: -verify-machineinstrs %s -o - | FileCheck %s
44
---
55
name: cmp_ult_i32

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/icmp-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 \
2+
# RUN: llc -mtriple=riscv64 -run-pass=instruction-select -simplify-mir \
33
# RUN: -verify-machineinstrs %s -o - | FileCheck %s
44
---
55
name: cmp_ult_i64

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/ptradd-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 \
2+
# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir \
33
# RUN: -verify-machineinstrs %s -o - | FileCheck %s
44
---
55
name: add_i32

llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/ptradd-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 \
2+
# RUN: llc -mtriple=riscv64 -run-pass=instruction-select -simplify-mir \
33
# RUN: -verify-machineinstrs %s -o - | FileCheck %s
44
---
55
name: add_i64

0 commit comments

Comments
 (0)