[PATCH] D37799: [X86][Skylake] Replacing -mcpu=skx by -mattr in a codegen test. NFC.

Gadi Haber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 04:31:48 PDT 2017


gadi.haber created this revision.

NFC.
Replacing -mcpu=skx by -mattr in the run command of the codegen test: avx512-gather-scatter-intrin.ll.


Repository:
  rL LLVM

https://reviews.llvm.org/D37799

Files:
  test/CodeGen/X86/avx512-gather-scatter-intrin.ll


Index: test/CodeGen/X86/avx512-gather-scatter-intrin.ll
===================================================================
--- test/CodeGen/X86/avx512-gather-scatter-intrin.ll
+++ test/CodeGen/X86/avx512-gather-scatter-intrin.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx512f,+avx512bw,+avx512vl,+avx512dq | FileCheck %s
 
 declare <16 x float> @llvm.x86.avx512.gather.dps.512 (<16 x float>, i8*, <16 x i32>, i16, i32)
 declare void @llvm.x86.avx512.scatter.dps.512 (i8*, i16, <16 x i32>, <16 x float>, i32)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37799.115013.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170913/b42f5f27/attachment.bin>


More information about the llvm-commits mailing list