Skip to content

Commit e339f0a

Browse files
committed
[test] Remove redundant -march=x86-64 when target triple is specified in IR
1 parent 40a4cbb commit e339f0a

15 files changed

+19
-19
lines changed

llvm/test/CodeGen/MIR/X86/dbg-value-list.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -march=x86-64 -run-pass machineverifier -o - %s | FileCheck %s
2-
# RUN: llc -march=x86-64 --passes='machine-function(verify)' -o - %s | FileCheck %s
1+
# RUN: llc -run-pass machineverifier -o - %s | FileCheck %s
2+
# RUN: llc --passes='machine-function(verify)' -o - %s | FileCheck %s
33
# Simple round-trip test for DBG_VALUE_LIST.
44
# CHECK: [[VAR_C:![0-9]+]] = !DILocalVariable(name: "c"
55
# CHECK: DBG_VALUE_LIST [[VAR_C]], !DIExpression(DW_OP_LLVM_arg, 0, DW_OP_LLVM_arg, 1, DW_OP_plus, DW_OP_stack_value), $edi, $esi, debug-location

llvm/test/DebugInfo/MIR/X86/backup-entry-values-usage.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass=livedebugvalues -emit-call-site-info -march=x86-64 -o - \
1+
# RUN: llc -run-pass=livedebugvalues -emit-call-site-info -o - \
22
# RUN: %s -experimental-debug-variable-locations=false | FileCheck %s
33

44
## Test from PR47628.

llvm/test/DebugInfo/MIR/X86/complex-entryvalue.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -filetype=obj -start-after=livedebugvalues -verify-machineinstrs -march=x86-64 -o - %s | llvm-dwarfdump - | FileCheck %s
1+
# RUN: llc -filetype=obj -start-after=livedebugvalues -verify-machineinstrs -o - %s | llvm-dwarfdump - | FileCheck %s
22
# CHECK: DW_AT_location (DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_lit0, DW_OP_plus)
33
--- |
44
; ModuleID = '/tmp/e.c'

llvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s \
1+
# RUN: llc -run-pass=livedebugvalues -o - %s \
22
# RUN: -experimental-debug-variable-locations=true \
33
# RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREFLDV
44
#

llvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param2.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s \
1+
# RUN: llc -run-pass=livedebugvalues -o - %s \
22
# RUN: -experimental-debug-variable-locations=false \
33
# RUN: | FileCheck %s --check-prefixes=CHECK,VARLOCLDV
44
#

llvm/test/DebugInfo/MIR/X86/entry-values-diamond-bbs.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
2-
# RUN: llc -force-instr-ref-livedebugvalues=1 -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
1+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
2+
# RUN: llc -force-instr-ref-livedebugvalues=1 -run-pass=livedebugvalues -o - %s | FileCheck %s
33
#
44
# The test case was artificially adjusted, in order to make proper diamond basic
55
# block structure relevant to the debug entry values propagation.

llvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -debug-entry-values -run-pass=livedebugvalues -march=x86-64 -o - %s -experimental-debug-variable-locations=true | FileCheck %s --check-prefixes=CHECK,INSTRREFLDV
1+
# RUN: llc -debug-entry-values -run-pass=livedebugvalues -o - %s -experimental-debug-variable-locations=true | FileCheck %s --check-prefixes=CHECK,INSTRREFLDV
22
#
33
# The test case was artificially adjusted, in order to make proper diamond basic
44
# block structure relevant to the debug entry values clobbering.

llvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs2.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -debug-entry-values -run-pass=livedebugvalues -march=x86-64 -o - %s -experimental-debug-variable-locations=false | FileCheck %s --check-prefixes=CHECK,VARLOCLDV
1+
# RUN: llc -debug-entry-values -run-pass=livedebugvalues -o - %s -experimental-debug-variable-locations=false | FileCheck %s --check-prefixes=CHECK,VARLOCLDV
22
#
33
# The test case was artificially adjusted, in order to make proper diamond basic
44
# block structure relevant to the debug entry values clobbering.

llvm/test/DebugInfo/MIR/X86/live-debug-values-3preds.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
1+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
22

33
# Test the extension of debug ranges from 3 predecessors.
44
# Generated from the source file LiveDebugValues-3preds.c:

llvm/test/DebugInfo/MIR/X86/live-debug-values-spill.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck -check-prefix=GENERATE %s
2-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck -check-prefix=TERMINATE %s
1+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck -check-prefix=GENERATE %s
2+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck -check-prefix=TERMINATE %s
33
#
44
# Check that spills are recognized in the Live Debug Values pass and that
55
# DBG_VALUE instructions are generated to keep track of spilled user

llvm/test/DebugInfo/MIR/X86/live-debug-values.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
1+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
22

33
# Test the extension of debug ranges from predecessors.
44
# Generated from the source file LiveDebugValues.c:

llvm/test/DebugInfo/MIR/X86/livedebugvalues-limit.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--- |
2-
; RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
2+
; RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
33
; Created from:
44
; void sink(int a);
55
; void __attribute((always_inline)) f(int a) { sink(a); }

llvm/test/DebugInfo/MIR/X86/piece-entryval.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -filetype=obj -start-after=livedebugvalues -verify-machineinstrs -march=x86-64 -o - %s | llvm-dwarfdump - | FileCheck %s
1+
# RUN: llc -filetype=obj -start-after=livedebugvalues -verify-machineinstrs -o - %s | llvm-dwarfdump - | FileCheck %s
22
# CHECK: DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, DW_OP_piece 0x2, DW_OP_breg5 RDI+0, DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_lit16, DW_OP_shr, DW_OP_piece 0x2
33
--- |
44
; ModuleID = '/tmp/e.c'

llvm/test/DebugInfo/MIR/X86/propagate-entry-value-cross-bbs.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
2-
# RUN: llc -force-instr-ref-livedebugvalues=1 -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
1+
# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
2+
# RUN: llc -force-instr-ref-livedebugvalues=1 -run-pass=livedebugvalues -o - %s | FileCheck %s
33
#
44
#extern void fn1 (int, int, int);
55
#__attribute__((noinline))

llvm/test/DebugInfo/MIR/X86/remove-entry-value-from-loop.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -emit-call-site-info -run-pass=livedebugvalues -march=x86-64 -o - %s | FileCheck %s
1+
# RUN: llc -emit-call-site-info -run-pass=livedebugvalues -o - %s | FileCheck %s
22

33
## Compiled from source:
44
## __attribute__((noinline))

0 commit comments

Comments
 (0)