[llvm] 718a979 - [M68k][NFC] Use OS and ABI agnostic triple in codegen tests
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 23 15:26:36 PDT 2022
Author: Min-Yih Hsu
Date: 2022-10-23T15:26:13-07:00
New Revision: 718a9793b4724b42ab411bb869623bb7e34c2e3d
URL: https://github.com/llvm/llvm-project/commit/718a9793b4724b42ab411bb869623bb7e34c2e3d
DIFF: https://github.com/llvm/llvm-project/commit/718a9793b4724b42ab411bb869623bb7e34c2e3d.diff
LOG: [M68k][NFC] Use OS and ABI agnostic triple in codegen tests
Use 'm68k' (i.e. m68k-unknown-unknown) in all codegen tests rather
than m68k-linux-gnu. NFC.
Added:
Modified:
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
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll b/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
index 4ca05c8fcd4ac..ff361b6268221 100644
--- a/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
+++ b/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll b/llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll
index df4e6417dc33a..16dc1036fd284 100644
--- a/llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll
+++ b/llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll
@@ -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)
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
index d4f607cc6435a..2f59442acffd5 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll
index 00764582b603d..aca79f0017374 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll
index bdae2a65e1c3a..18552f87d1544 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
index 59480199b31e4..7b27e480481b6 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll b/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
index 9773b6c03b663..1fbd8ff4875c5 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll b/llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll
index 4d3ebf989ca99..de6e1227e72a3 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-pie.ll b/llvm/test/CodeGen/M68k/CodeModel/small-pie.ll
index 8d442d4c147b8..1456149ed12b2 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-pie.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-pie.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-static.ll b/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
index b87ba0bb98ce2..934f9d8f2204d 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
@@ -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
diff --git a/llvm/test/CodeGen/M68k/Control/cmp.ll b/llvm/test/CodeGen/M68k/Control/cmp.ll
index a5f0b4b542201..aa20461a8d651 100644
--- a/llvm/test/CodeGen/M68k/Control/cmp.ll
+++ b/llvm/test/CodeGen/M68k/Control/cmp.ll
@@ -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:
diff --git a/llvm/test/CodeGen/M68k/PR57660.ll b/llvm/test/CodeGen/M68k/PR57660.ll
index 31fa61658fcb0..184c30a33d791 100644
--- a/llvm/test/CodeGen/M68k/PR57660.ll
+++ b/llvm/test/CodeGen/M68k/PR57660.ll
@@ -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:
diff --git a/llvm/test/CodeGen/M68k/link-unlnk.ll b/llvm/test/CodeGen/M68k/link-unlnk.ll
index c26049063b677..530f01b56998f 100644
--- a/llvm/test/CodeGen/M68k/link-unlnk.ll
+++ b/llvm/test/CodeGen/M68k/link-unlnk.ll
@@ -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) {
More information about the llvm-commits
mailing list