[llvm] r348063 - [X86][LoopVectorize] Replace -mcpu=skylake-avx512 with -mattr=avx512f in some tests that failed when experimenting with defaulting to -mprefer-vector-width=256 for skylake-avx512.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 30 17:38:45 PST 2018


Author: ctopper
Date: Fri Nov 30 17:38:44 2018
New Revision: 348063

URL: http://llvm.org/viewvc/llvm-project?rev=348063&view=rev
Log:
[X86][LoopVectorize] Replace -mcpu=skylake-avx512 with -mattr=avx512f in some tests that failed when experimenting with defaulting to -mprefer-vector-width=256 for skylake-avx512.

Modified:
    llvm/trunk/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll
    llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
    llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll

Modified: llvm/trunk/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll?rev=348063&r1=348062&r2=348063&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll Fri Nov 30 17:38:44 2018
@@ -1,4 +1,4 @@
-; RUN: opt -loop-vectorize -S -mcpu=skylake-avx512  < %s | FileCheck %s
+; RUN: opt -loop-vectorize -S -mattr=avx512f  < %s | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

Modified: llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll?rev=348063&r1=348062&r2=348063&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll Fri Nov 30 17:38:44 2018
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -loop-vectorize -S -mcpu=skylake-avx512 -instcombine < %s | FileCheck %s
+; RUN: opt -loop-vectorize -S -mattr=avx512f -instcombine < %s | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

Modified: llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll?rev=348063&r1=348062&r2=348063&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll Fri Nov 30 17:38:44 2018
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -loop-vectorize -S -mcpu=skylake-avx512  -instcombine < %s | FileCheck %s
+; RUN: opt -loop-vectorize -S -mattr=avx512f  -instcombine < %s | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"




More information about the llvm-commits mailing list