From 1ee1fb604621025bd2b1a681a09ab54ff69623d1 Mon Sep 17 00:00:00 2001 From: Ayman Musa Date: Sun, 3 Sep 2017 15:06:26 +0000 Subject: [PATCH] [X86] Add -mtriple option to LIT tests added in https://reviews.llvm.org/rL312442 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312443 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll | 2 +- test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll | 2 +- test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll | 2 +- test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll | 2 +- test/CodeGen/X86/avx512-shuffles/duplicate-high.ll | 2 +- test/CodeGen/X86/avx512-shuffles/duplicate-low.ll | 2 +- test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll | 2 +- test/CodeGen/X86/avx512-shuffles/partial_permute.ll | 2 +- test/CodeGen/X86/avx512-shuffles/permute.ll | 2 +- test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll | 2 +- test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll | 2 +- test/CodeGen/X86/avx512-shuffles/shuffle.ll | 2 +- test/CodeGen/X86/avx512-shuffles/unpack.ll | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll b/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll index 46349931bf1..81bf7ea1453 100644 --- a/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll +++ b/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <4 x double> @test_double_to_4(double %s) { ; CHECK-LABEL: test_double_to_4: diff --git a/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll b/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll index f0bbcba5598..920aba6e623 100644 --- a/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll +++ b/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <16 x i8> @test_i8_to_16(i8 %s) { ; CHECK-LABEL: test_i8_to_16: diff --git a/test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll b/test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll index 8a5584bc917..dd5adb38431 100644 --- a/test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll +++ b/test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <8 x float> @test_2xfloat_to_8xfloat(<8 x float> %vec) { ; CHECK-LABEL: test_2xfloat_to_8xfloat: diff --git a/test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll b/test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll index 0b0dfa878fc..bc911050d78 100644 --- a/test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll +++ b/test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s ; FIXME: fixing PR34394 should fix the i32x2 memory cases resulting in a simple vbroadcasti32x2 instruction. diff --git a/test/CodeGen/X86/avx512-shuffles/duplicate-high.ll b/test/CodeGen/X86/avx512-shuffles/duplicate-high.ll index d94db336274..dce20fe92f0 100644 --- a/test/CodeGen/X86/avx512-shuffles/duplicate-high.ll +++ b/test/CodeGen/X86/avx512-shuffles/duplicate-high.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <4 x float> @test_4xfloat_dup_high(<4 x float> %vec) { ; CHECK-LABEL: test_4xfloat_dup_high: diff --git a/test/CodeGen/X86/avx512-shuffles/duplicate-low.ll b/test/CodeGen/X86/avx512-shuffles/duplicate-low.ll index 8da48ea5ada..5f4e3236657 100644 --- a/test/CodeGen/X86/avx512-shuffles/duplicate-low.ll +++ b/test/CodeGen/X86/avx512-shuffles/duplicate-low.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <2 x double> @test_2xdouble_dup_low(<2 x double> %vec) { ; CHECK-LABEL: test_2xdouble_dup_low: diff --git a/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll b/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll index 8803ba9c7a8..05b3df02acf 100644 --- a/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll +++ b/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s ; FIXME: The non immediate <16 x float> test cases should be fixed by PR34382 diff --git a/test/CodeGen/X86/avx512-shuffles/partial_permute.ll b/test/CodeGen/X86/avx512-shuffles/partial_permute.ll index 01e795a3c4f..4966a6c27ff 100644 --- a/test/CodeGen/X86/avx512-shuffles/partial_permute.ll +++ b/test/CodeGen/X86/avx512-shuffles/partial_permute.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s ; FIXME: All cases here should be fixed by PR34380 diff --git a/test/CodeGen/X86/avx512-shuffles/permute.ll b/test/CodeGen/X86/avx512-shuffles/permute.ll index 47725ca1630..e13390facbd 100644 --- a/test/CodeGen/X86/avx512-shuffles/permute.ll +++ b/test/CodeGen/X86/avx512-shuffles/permute.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <16 x i16> @test_16xi16_perm_mask0(<16 x i16> %vec) { ; CHECK-LABEL: test_16xi16_perm_mask0: diff --git a/test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll b/test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll index a1afe31b93b..aab0c6827a7 100644 --- a/test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll +++ b/test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <4 x float> @test_4xfloat_shuff_mask0(<4 x float> %vec1, <4 x float> %vec2) { ; CHECK-LABEL: test_4xfloat_shuff_mask0: diff --git a/test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll b/test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll index b4e762e43d4..674d039999f 100644 --- a/test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll +++ b/test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s ; FIXME: 128-bit shuffles of 256-bit vectors cases should be fixed by PR34359 diff --git a/test/CodeGen/X86/avx512-shuffles/shuffle.ll b/test/CodeGen/X86/avx512-shuffles/shuffle.ll index 1668d3c6d66..f0194414998 100644 --- a/test/CodeGen/X86/avx512-shuffles/shuffle.ll +++ b/test/CodeGen/X86/avx512-shuffles/shuffle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <16 x i8> @test_16xi8_perm_mask0(<16 x i8> %vec) { ; CHECK-LABEL: test_16xi8_perm_mask0: diff --git a/test/CodeGen/X86/avx512-shuffles/unpack.ll b/test/CodeGen/X86/avx512-shuffles/unpack.ll index 3e77390fe05..14379295857 100644 --- a/test/CodeGen/X86/avx512-shuffles/unpack.ll +++ b/test/CodeGen/X86/avx512-shuffles/unpack.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mcpu=skx %s -o - | FileCheck %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=skx %s -o - | FileCheck %s define <4 x float> @test_4xfloat_unpack_low_mask0(<4 x float> %vec1, <4 x float> %vec2) { ; CHECK-LABEL: test_4xfloat_unpack_low_mask0: -- 2.50.1