[PATCH] D101863: [DebugInfo][test][MIPS] Use mtriple in tests

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 06:51:48 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGf6ef409406d7: [DebugInfo][test][MIPS] Use mtriple in tests (authored by jsji).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101863/new/

https://reviews.llvm.org/D101863

Files:
  llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
  llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll
  llvm/test/DebugInfo/Mips/dwarfdump-tls.ll


Index: llvm/test/DebugInfo/Mips/dwarfdump-tls.ll
===================================================================
--- llvm/test/DebugInfo/Mips/dwarfdump-tls.ll
+++ llvm/test/DebugInfo/Mips/dwarfdump-tls.ll
@@ -1,13 +1,13 @@
-; RUN: llc -O0 -march=mips -mcpu=mips32r2 -filetype=obj \
+; RUN: llc -O0 -mtriple=mips -mcpu=mips32r2 -filetype=obj \
 ; RUN:     -split-dwarf-file=foo.dwo -o=%t-32.o < %s
 ; RUN: llvm-dwarfdump %t-32.o 2>&1 | FileCheck %s
-; RUN: llc -O0 -march=mips64 -mcpu=mips64r2 -filetype=obj \
+; RUN: llc -O0 -mtriple=mips64 -mcpu=mips64r2 -filetype=obj \
 ; RUN:     -split-dwarf-file=foo.dwo -o=%t-64.o < %s
 ; RUN: llvm-dwarfdump %t-64.o 2>&1 | FileCheck %s
 
-; RUN: llc -O0 -march=mips -mcpu=mips32r2 -filetype=asm \
+; RUN: llc -O0 -mtriple=mips -mcpu=mips32r2 -filetype=asm \
 ; RUN:     -split-dwarf-file=foo.dwo < %s | FileCheck -check-prefix=ASM32 %s
-; RUN: llc -O0 -march=mips64 -mcpu=mips64r2 -filetype=asm \
+; RUN: llc -O0 -mtriple=mips64 -mcpu=mips64r2 -filetype=asm \
 ; RUN:     -split-dwarf-file=foo.dwo < %s | FileCheck -check-prefix=ASM64 %s
 
 @x = thread_local global i32 5, align 4, !dbg !0
Index: llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll
===================================================================
--- llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll
+++ llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj -fast-isel=0 <%s | \
+; RUN: llc -mtriple=mips -mcpu=mips32r2 -O0 -filetype=obj -fast-isel=0 <%s | \
 ; RUN:    llvm-dwarfdump -v -all - | FileCheck %s
 
 declare void @llvm.dbg.declare(metadata, metadata, metadata)
Index: llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
===================================================================
--- llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
+++ llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=mips -mcpu=mips32r2 -O1 -filetype=obj -relocation-model=pic <%s | \
+; RUN: llc -mtriple=mips -mcpu=mips32r2 -O1 -filetype=obj -relocation-model=pic <%s | \
 ; RUN:    llvm-dwarfdump -v -all - | FileCheck %s
 
 ; void foo(int *);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101863.343030.patch
Type: text/x-patch
Size: 2143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210505/814c034a/attachment.bin>


More information about the llvm-commits mailing list