[test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449 -march= is error-prone when running on a host whose OS is different.
This commit is contained in:
parent
8d550aa0f0
commit
cd12922235
@ -1,10 +1,6 @@
|
||||
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=i386 -mcpu=corei7-avx | FileCheck %s -check-prefix=CHECK32
|
||||
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s -check-prefix=CHECK64
|
||||
|
||||
; Test vector scalarization costs.
|
||||
; RUN: llc < %s -march=x86 -mcpu=i386
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah
|
||||
|
||||
%i4 = type <4 x i32>
|
||||
%i8 = type <2 x i64>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llc -march=x86 -run-pass none -o - %s | FileCheck %s
|
||||
# RUN: llc -mtriple=i686 -run-pass none -o - %s | FileCheck %s
|
||||
# This test ensures that the MIR parser parses fixed stack memory operands
|
||||
# correctly.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: not llc -march=x86 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
# RUN: not llc -mtriple=i686 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
|
||||
--- |
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llc -march=x86 -run-pass none -o - %s | FileCheck %s
|
||||
# RUN: llc -mtriple=i686 -run-pass none -o - %s | FileCheck %s
|
||||
# This test ensures that the MIR parser parses fixed stack objects correctly.
|
||||
|
||||
--- |
|
||||
|
@ -1,5 +1,5 @@
|
||||
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
||||
# RUN: llc -march=x86 -run-pass none -o - %s | FileCheck %s
|
||||
# RUN: llc -mtriple=i686 -run-pass none -o - %s | FileCheck %s
|
||||
# This test ensures that the MIR parser parses stack object machine operands
|
||||
# correctly.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=x86 < %s
|
||||
; RUN: llc -mtriple=i686 < %s
|
||||
; PR933
|
||||
|
||||
define fastcc i1 @test() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: not --crash llc -march=x86-64 -run-pass=none -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -implicit-check-not="Bad machine code"
|
||||
# RUN: not --crash llc -mtriple=x86_64 -run-pass=none -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s -implicit-check-not="Bad machine code"
|
||||
# REQUIRES: x86-registered-target
|
||||
|
||||
# These copies have mismatched type sizes that are allowed because the
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: not --crash llc -march=x86 -o - %s -run-pass=none -verify-machineinstrs \
|
||||
# RUN: not --crash llc -mtriple=i686 -o - %s -run-pass=none -verify-machineinstrs \
|
||||
# RUN: 2>&1 | FileCheck %s
|
||||
# REQUIRES: x86-registered-target
|
||||
#
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: opt < %s -passes=slsr,nary-reassociate -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=slsr -S | opt -passes='nary-reassociate' -S | FileCheck %s
|
||||
; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s --check-prefix=PTX
|
||||
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s --check-prefix=PTX
|
||||
|
||||
target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user