[PATCH] D38312: adding pattern for broadcastm
Zvi Rackover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 05:46:48 PDT 2017
zvi added inline comments.
================
Comment at: test/CodeGen/X86/broadcastm-lowering.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=skx | FileCheck %s --check-prefix=ALL --check-prefix=SKX
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=knl | FileCheck %s --check-prefix=ALL --check-prefix=KNL
----------------
instead of -mcpu=skx , you should use -mattr which is more robust to scheduling changes:
-mattr=+avx512cd,+avx512vl
and similarly for knl:
-mattr=+avx512cd
https://reviews.llvm.org/D38312
More information about the llvm-commits
mailing list