[M68k][NFC] Use OS and ABI agnostic triple in codegen tests
authorMin-Yih Hsu <minyihh@uci.edu>
Sun, 23 Oct 2022 21:36:35 +0000 (14:36 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Sun, 23 Oct 2022 22:26:13 +0000 (15:26 -0700)
Use 'm68k' (i.e. m68k-unknown-unknown) in all codegen tests rather
than m68k-linux-gnu. NFC.

13 files changed:
llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll
llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll
llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll
llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll
llvm/test/CodeGen/M68k/CodeModel/small-pie.ll
llvm/test/CodeGen/M68k/CodeModel/small-static.ll
llvm/test/CodeGen/M68k/Control/cmp.ll
llvm/test/CodeGen/M68k/PR57660.ll
llvm/test/CodeGen/M68k/link-unlnk.ll

index 4ca05c8..ff361b6 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=m68k-linux-gnu -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=m68k -verify-machineinstrs | FileCheck %s
 define i32 @A(i32 %Size) {
 ; CHECK-LABEL: A:
 ; CHECK:         .cfi_startproc
index df4e641..16dc103 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=m68k-linux-gnu -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=m68k -verify-machineinstrs | FileCheck %s
 
 declare {i32, i1} @llvm.umul.with.overflow.i32(i32 %a, i32 %b)
 
index d4f607c..2f59442 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=medium -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index 0076458..aca79f0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=medium -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index bdae2a6..18552f8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O0 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O0 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=medium -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index 5948019..7b27e48 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=medium -relocation-model=static \
 ; RUN:   | FileCheck %s
 
index 9773b6c..1fbd8ff 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=small -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index 4d3ebf9..de6e122 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=small -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index 8d442d4..1456149 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O0 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O0 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=small -relocation-model=pic \
 ; RUN:   | FileCheck %s
 
index b87ba0b..934f9d8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -O2 -mtriple=m68k-linux-gnu -verify-machineinstrs \
+; RUN: llc < %s -O2 -mtriple=m68k -verify-machineinstrs \
 ; RUN:              -code-model=small -relocation-model=static \
 ; RUN:   | FileCheck %s
 
index a5f0b4b..aa20461 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=m68k-linux-gnu -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=m68k -verify-machineinstrs | FileCheck %s
 
 define i32 @test1(i32* %y) nounwind {
 ; CHECK-LABEL: test1:
index 31fa616..184c30a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=m68k-linux-gnu --regalloc=fast %s -o - | FileCheck %s
+; RUN: llc -mtriple=m68k --regalloc=fast %s -o - | FileCheck %s
 
 define dso_local void @foo1() {
 ; CHECK-LABEL: foo1:
index c260490..530f01b 100644 (file)
@@ -1,8 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -frame-pointer=all -mtriple=m68k-linux-gnu %s -verify-machineinstrs -o - \
+; RUN: llc -frame-pointer=all -mtriple=m68k %s -verify-machineinstrs -o - \
 ; RUN: | FileCheck --check-prefix=FP %s
 
-; RUN: llc -frame-pointer=none -mtriple=m68k-linux-gnu %s -verify-machineinstrs -o - \
+; RUN: llc -frame-pointer=none -mtriple=m68k %s -verify-machineinstrs -o - \
 ; RUN: | FileCheck --check-prefix=NO-FP %s
 
 define i32 @fib(i32 %a, i32 %b) {