From 718a9793b4724b42ab411bb869623bb7e34c2e3d Mon Sep 17 00:00:00 2001 From: Min-Yih Hsu Date: Sun, 23 Oct 2022 14:36:35 -0700 Subject: [PATCH] [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. --- llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll | 2 +- llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/medium-static.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/small-pic.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/small-pie.ll | 2 +- llvm/test/CodeGen/M68k/CodeModel/small-static.ll | 2 +- llvm/test/CodeGen/M68k/Control/cmp.ll | 2 +- llvm/test/CodeGen/M68k/PR57660.ll | 2 +- llvm/test/CodeGen/M68k/link-unlnk.ll | 4 ++-- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll b/llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll index 4ca05c8..ff361b6 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 df4e641..16dc103 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 d4f607c..2f59442 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 0076458..aca79f0 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 bdae2a6..18552f8 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 5948019..7b27e48 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 9773b6c..1fbd8ff 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 4d3ebf9..de6e122 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 8d442d4..1456149 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 b87ba0b..934f9d8 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 a5f0b4b..aa20461 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 31fa616..184c30a 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 c260490..530f01b 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) { -- 2.7.4