[llvm] 171056f - [M68k,MSP430,test] Change llc -march= to -mtriple=
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 15 10:09:36 PST 2024
Author: Fangrui Song
Date: 2024-12-15T10:09:30-08:00
New Revision: 171056ff5778c40df916c5a4cea84ea6320b965f
URL: https://github.com/llvm/llvm-project/commit/171056ff5778c40df916c5a4cea84ea6320b965f
DIFF: https://github.com/llvm/llvm-project/commit/171056ff5778c40df916c5a4cea84ea6320b965f.diff
LOG: [M68k,MSP430,test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
Added:
Modified:
llvm/test/CodeGen/M68k/GlobalISel/legalize-add.mir
llvm/test/CodeGen/M68k/GlobalISel/legalize-and.mir
llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir
llvm/test/CodeGen/M68k/GlobalISel/legalize-mul.mir
llvm/test/CodeGen/M68k/GlobalISel/legalize-sub.mir
llvm/test/CodeGen/M68k/GlobalISel/legalize-udiv.mir
llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll
llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll
llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll
llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll
llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll
llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll
llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll
llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll
llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll
llvm/test/CodeGen/MSP430/BranchSelector.ll
llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test
llvm/test/CodeGen/MSP430/Inst16mi.ll
llvm/test/CodeGen/MSP430/Inst16mm.ll
llvm/test/CodeGen/MSP430/Inst16mr.ll
llvm/test/CodeGen/MSP430/Inst16ri.ll
llvm/test/CodeGen/MSP430/Inst16rm.ll
llvm/test/CodeGen/MSP430/Inst16rr.ll
llvm/test/CodeGen/MSP430/Inst8mi.ll
llvm/test/CodeGen/MSP430/Inst8mm.ll
llvm/test/CodeGen/MSP430/Inst8mr.ll
llvm/test/CodeGen/MSP430/Inst8ri.ll
llvm/test/CodeGen/MSP430/Inst8rm.ll
llvm/test/CodeGen/MSP430/Inst8rr.ll
llvm/test/CodeGen/MSP430/InstII.ll
llvm/test/CodeGen/MSP430/bit.ll
llvm/test/CodeGen/MSP430/flt_rounds.ll
llvm/test/CodeGen/MSP430/indirectbr.ll
llvm/test/CodeGen/MSP430/indirectbr2.ll
llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll
llvm/test/CodeGen/MSP430/select-use-sr.ll
llvm/test/CodeGen/MSP430/setcc.ll
llvm/test/CodeGen/MSP430/spill-to-stack.ll
llvm/test/CodeGen/MSP430/stacksave_restore.ll
llvm/test/CodeGen/MSP430/umulo-16.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-add.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-add.mir
index c9df0691bb7634..f0d6e3659f6e5c 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-add.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-add.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_scalar_small
fixedStack:
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-and.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-and.mir
index 7cd575e518d999..de63c1a3687713 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-and.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-and.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_scalar_and_small
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir
index 9a38e1ea320a35..e9709f5cd90300 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_load_store
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-mul.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-mul.mir
index 424bee6b71afb6..d4f1c3bea00a75 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-mul.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-mul.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_scalar_small
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-sub.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-sub.mir
index 2af0e097d4d4f8..679e8238fbc552 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-sub.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-sub.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_scalar_small
diff --git a/llvm/test/CodeGen/M68k/GlobalISel/legalize-udiv.mir b/llvm/test/CodeGen/M68k/GlobalISel/legalize-udiv.mir
index 7e12bdded3f652..09ecf77c615870 100644
--- a/llvm/test/CodeGen/M68k/GlobalISel/legalize-udiv.mir
+++ b/llvm/test/CodeGen/M68k/GlobalISel/legalize-udiv.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -march=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=m68k -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
---
name: test_scalar_small
fixedStack:
diff --git a/llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll b/llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll
index a2c9cebe72dbab..c5f11ee4da95fb 100644
--- a/llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll
+++ b/llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430
+; RUN: llc < %s -mtriple=msp430
define i16 @rol1u16(i16 %x.arg) nounwind {
%retval = alloca i16
diff --git a/llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll b/llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll
index ace4413618f758..2ea02737ff9295 100644
--- a/llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll
+++ b/llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | grep rra | count 1
+; RUN: llc < %s -mtriple=msp430 | grep rra | count 1
define i16 @lsr2u16(i16 %x.arg) nounwind {
%retval = alloca i16
diff --git a/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll b/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll
index 54eb7ff5c0bf3d..3e39bdb92d208c 100644
--- a/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll
+++ b/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430
+; RUN: llc < %s -mtriple=msp430
define i16 @test(double %d) nounwind {
entry:
diff --git a/llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll b/llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll
index 45fd35c70eb995..b8989ad3e2686f 100644
--- a/llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll
+++ b/llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s
+; RUN: llc -mtriple=msp430 < %s
; PR4779
define void @foo() nounwind {
entry:
diff --git a/llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll b/llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll
index 887c7d6fa24e74..6c9c16843b20b0 100644
--- a/llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll
+++ b/llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s
+; RUN: llc -mtriple=msp430 < %s
; PR5558
define i64 @_strtoll_r(i16 %base) nounwind {
diff --git a/llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll b/llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll
index d2a04348e3f9cd..334bfba8767ec5 100644
--- a/llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll
+++ b/llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:16"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll b/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll
index 300949d654bec6..48fc0563195619 100644
--- a/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll
+++ b/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:16"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll b/llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll
index 18e2431eebf8bd..db535cf71d54a3 100644
--- a/llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll
+++ b/llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:16"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll b/llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll
index 09219d019fd2c6..d71494dbc4411f 100644
--- a/llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll
+++ b/llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:16"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/BranchSelector.ll b/llvm/test/CodeGen/MSP430/BranchSelector.ll
index 3acd7bd3cca3d4..10046192305096 100644
--- a/llvm/test/CodeGen/MSP430/BranchSelector.ll
+++ b/llvm/test/CodeGen/MSP430/BranchSelector.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
target triple = "msp430"
diff --git a/llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test b/llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test
index 7adfbcafa35b46..512961762a3e71 100644
--- a/llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test
+++ b/llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test
@@ -1 +1 @@
-RUN: llc -O0 -march=msp430 -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
+RUN: llc -O0 -mtriple=msp430 -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
diff --git a/llvm/test/CodeGen/MSP430/Inst16mi.ll b/llvm/test/CodeGen/MSP430/Inst16mi.ll
index 28e2e2c570ed22..9a79ca623cef1f 100644
--- a/llvm/test/CodeGen/MSP430/Inst16mi.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16mi.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/Inst16mm.ll b/llvm/test/CodeGen/MSP430/Inst16mm.ll
index 1851045b32da0e..df989e24728f8f 100644
--- a/llvm/test/CodeGen/MSP430/Inst16mm.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16mm.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i16 0, align 2
diff --git a/llvm/test/CodeGen/MSP430/Inst16mr.ll b/llvm/test/CodeGen/MSP430/Inst16mr.ll
index 383b951b220228..5904dbdbf45596 100644
--- a/llvm/test/CodeGen/MSP430/Inst16mr.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16mr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i16 0, align 2
diff --git a/llvm/test/CodeGen/MSP430/Inst16ri.ll b/llvm/test/CodeGen/MSP430/Inst16ri.ll
index 58b2791194acbd..b1a0d5e22ef33f 100644
--- a/llvm/test/CodeGen/MSP430/Inst16ri.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16ri.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/Inst16rm.ll b/llvm/test/CodeGen/MSP430/Inst16rm.ll
index f4405def2c193a..419fa04994d668 100644
--- a/llvm/test/CodeGen/MSP430/Inst16rm.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16rm.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i16 0, align 2
diff --git a/llvm/test/CodeGen/MSP430/Inst16rr.ll b/llvm/test/CodeGen/MSP430/Inst16rr.ll
index 124d42113a21cb..b97afb2c881e09 100644
--- a/llvm/test/CodeGen/MSP430/Inst16rr.ll
+++ b/llvm/test/CodeGen/MSP430/Inst16rr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/Inst8mi.ll b/llvm/test/CodeGen/MSP430/Inst8mi.ll
index 0fb0b9395056e9..c78290bb007034 100644
--- a/llvm/test/CodeGen/MSP430/Inst8mi.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8mi.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i8:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i8 0, align 1
diff --git a/llvm/test/CodeGen/MSP430/Inst8mm.ll b/llvm/test/CodeGen/MSP430/Inst8mm.ll
index eec2ef6d3033ee..f64ddcdb7b47bb 100644
--- a/llvm/test/CodeGen/MSP430/Inst8mm.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8mm.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/Inst8mr.ll b/llvm/test/CodeGen/MSP430/Inst8mr.ll
index bad7c9cbe3c3ab..3f33a26fe4106e 100644
--- a/llvm/test/CodeGen/MSP430/Inst8mr.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8mr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i8 0, align 1
diff --git a/llvm/test/CodeGen/MSP430/Inst8ri.ll b/llvm/test/CodeGen/MSP430/Inst8ri.ll
index ff3dee8bfb9484..89f7361a20d232 100644
--- a/llvm/test/CodeGen/MSP430/Inst8ri.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8ri.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/Inst8rm.ll b/llvm/test/CodeGen/MSP430/Inst8rm.ll
index 95f0835026b646..88a9f3dabdcf2b 100644
--- a/llvm/test/CodeGen/MSP430/Inst8rm.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8rm.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i8:8:8-i32:8:8"
target triple = "msp430-generic-generic"
@foo = common global i8 0, align 1
diff --git a/llvm/test/CodeGen/MSP430/Inst8rr.ll b/llvm/test/CodeGen/MSP430/Inst8rr.ll
index 20c4fa5aacf5b2..d159bcafede33a 100644
--- a/llvm/test/CodeGen/MSP430/Inst8rr.ll
+++ b/llvm/test/CodeGen/MSP430/Inst8rr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i8:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/InstII.ll b/llvm/test/CodeGen/MSP430/InstII.ll
index abb1dd00b2ab54..851029364133ec 100644
--- a/llvm/test/CodeGen/MSP430/InstII.ll
+++ b/llvm/test/CodeGen/MSP430/InstII.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/bit.ll b/llvm/test/CodeGen/MSP430/bit.ll
index a67fcdfe5f96c7..42211d23ab0848 100644
--- a/llvm/test/CodeGen/MSP430/bit.ll
+++ b/llvm/test/CodeGen/MSP430/bit.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:32"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/flt_rounds.ll b/llvm/test/CodeGen/MSP430/flt_rounds.ll
index 25902a3a422a9a..dad8d3c7db0603 100644
--- a/llvm/test/CodeGen/MSP430/flt_rounds.ll
+++ b/llvm/test/CodeGen/MSP430/flt_rounds.ll
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=msp430
+; RUN: llc -verify-machineinstrs < %s -mtriple=msp430
define i16 @foo() {
entry:
diff --git a/llvm/test/CodeGen/MSP430/indirectbr.ll b/llvm/test/CodeGen/MSP430/indirectbr.ll
index 96064198677093..07c5c610f4c04e 100644
--- a/llvm/test/CodeGen/MSP430/indirectbr.ll
+++ b/llvm/test/CodeGen/MSP430/indirectbr.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s
+; RUN: llc -mtriple=msp430 < %s
@nextaddr = global ptr null ; <i8**> [#uses=2]
@C.0.2070 = private constant [5 x ptr] [ptr blockaddress(@foo, %L1), ptr blockaddress(@foo, %L2), ptr blockaddress(@foo, %L3), ptr blockaddress(@foo, %L4), ptr blockaddress(@foo, %L5)] ; <[5 x i8*]*> [#uses=1]
diff --git a/llvm/test/CodeGen/MSP430/indirectbr2.ll b/llvm/test/CodeGen/MSP430/indirectbr2.ll
index 954f2480adbeaa..f0147368d14ae7 100644
--- a/llvm/test/CodeGen/MSP430/indirectbr2.ll
+++ b/llvm/test/CodeGen/MSP430/indirectbr2.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
@C.0.2070 = private constant [5 x ptr] [ptr blockaddress(@foo, %L1), ptr blockaddress(@foo, %L2), ptr blockaddress(@foo, %L3), ptr blockaddress(@foo, %L4), ptr blockaddress(@foo, %L5)] ; <[5 x i8*]*> [#uses=1]
define internal i16 @foo(i16 %i) nounwind {
diff --git a/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll b/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll
index 6655af5cc75655..cdbd007e8efd69 100644
--- a/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll
+++ b/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 -no-integrated-as
+; RUN: llc < %s -mtriple=msp430 -no-integrated-as
; ModuleID = 'mult-alt-generic.c'
target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
target triple = "msp430"
diff --git a/llvm/test/CodeGen/MSP430/select-use-sr.ll b/llvm/test/CodeGen/MSP430/select-use-sr.ll
index 159fc93db5aa19..c14b15cf2398e0 100644
--- a/llvm/test/CodeGen/MSP430/select-use-sr.ll
+++ b/llvm/test/CodeGen/MSP430/select-use-sr.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
; PR32769
target triple = "msp430"
diff --git a/llvm/test/CodeGen/MSP430/setcc.ll b/llvm/test/CodeGen/MSP430/setcc.ll
index 52baf64290336b..bba3b40eef19a5 100644
--- a/llvm/test/CodeGen/MSP430/setcc.ll
+++ b/llvm/test/CodeGen/MSP430/setcc.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s | FileCheck %s
+; RUN: llc -mtriple=msp430 < %s | FileCheck %s
target datalayout = "e-p:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:16:32"
target triple = "msp430-generic-generic"
diff --git a/llvm/test/CodeGen/MSP430/spill-to-stack.ll b/llvm/test/CodeGen/MSP430/spill-to-stack.ll
index 69f66938dd780a..a608e9372eabd1 100644
--- a/llvm/test/CodeGen/MSP430/spill-to-stack.ll
+++ b/llvm/test/CodeGen/MSP430/spill-to-stack.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=msp430 < %s
+; RUN: llc -mtriple=msp430 < %s
%VeryLarge = type { i8, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; intentionally cause a spill
diff --git a/llvm/test/CodeGen/MSP430/stacksave_restore.ll b/llvm/test/CodeGen/MSP430/stacksave_restore.ll
index 64bfcc63aad7c2..38701f1782b2b8 100644
--- a/llvm/test/CodeGen/MSP430/stacksave_restore.ll
+++ b/llvm/test/CodeGen/MSP430/stacksave_restore.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430
+; RUN: llc < %s -mtriple=msp430
target triple = "msp430"
diff --git a/llvm/test/CodeGen/MSP430/umulo-16.ll b/llvm/test/CodeGen/MSP430/umulo-16.ll
index bd421379147e13..a8a72ac5972701 100644
--- a/llvm/test/CodeGen/MSP430/umulo-16.ll
+++ b/llvm/test/CodeGen/MSP430/umulo-16.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=msp430 | FileCheck %s
+; RUN: llc < %s -mtriple=msp430 | FileCheck %s
target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
target triple = "msp430"
More information about the llvm-commits
mailing list