From f6643943be2223ca77aaa417e6f7c86a48c92f34 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 30 May 2018 14:01:21 +0000 Subject: [PATCH] [X86][SSE] Replace -cpu with equivalent -mattr for vec_cast tests It was noticed on D47377 that these tests were being unnecessarily affected by scheduler changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333545 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vec_cast.ll | 4 ++-- test/CodeGen/X86/vec_cast2.ll | 4 ++-- test/CodeGen/X86/vec_cast3.ll | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/CodeGen/X86/vec_cast.ll b/test/CodeGen/X86/vec_cast.ll index f6b1ac14490..f3d179bdfc6 100644 --- a/test/CodeGen/X86/vec_cast.ll +++ b/test/CodeGen/X86/vec_cast.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=x86_64-linux -mcpu=core2 | FileCheck %s --check-prefixes=CHECK,CHECK-LIN -; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=core2 | FileCheck %s --check-prefixes=CHECK,CHECK-WIN +; RUN: llc < %s -mtriple=x86_64-linux -mattr=+ssse3 | FileCheck %s --check-prefixes=CHECK,CHECK-LIN +; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+ssse3 | FileCheck %s --check-prefixes=CHECK,CHECK-WIN define <8 x i32> @a(<8 x i16> %a) nounwind { ; CHECK-LIN-LABEL: a: diff --git a/test/CodeGen/X86/vec_cast2.ll b/test/CodeGen/X86/vec_cast2.ll index ef69b223e53..9a5feb83dbb 100644 --- a/test/CodeGen/X86/vec_cast2.ll +++ b/test/CodeGen/X86/vec_cast2.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx | FileCheck %s -; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx -x86-experimental-vector-widening-legalization | FileCheck %s --check-prefix=CHECK-WIDE +; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=+avx | FileCheck %s +; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=+avx -x86-experimental-vector-widening-legalization | FileCheck %s --check-prefix=CHECK-WIDE define <8 x float> @cvt_v8i8_v8f32(<8 x i8> %src) { ; CHECK-LABEL: cvt_v8i8_v8f32: diff --git a/test/CodeGen/X86/vec_cast3.ll b/test/CodeGen/X86/vec_cast3.ll index aca9da749ca..726c3bf18b5 100644 --- a/test/CodeGen/X86/vec_cast3.ll +++ b/test/CodeGen/X86/vec_cast3.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx | FileCheck %s -; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx -x86-experimental-vector-widening-legalization | FileCheck %s --check-prefix=CHECK-WIDE +; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=+avx | FileCheck %s +; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=+avx -x86-experimental-vector-widening-legalization | FileCheck %s --check-prefix=CHECK-WIDE define <2 x float> @cvt_v2i8_v2f32(<2 x i8> %src) { ; CHECK-LABEL: cvt_v2i8_v2f32: -- 2.11.0