[PATCH] D67017: [X86] Add initial support for unfolding broadcast loads from arithmetic instructions to enable LICM hoisting of the load

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 1 05:44:51 PDT 2019


RKSimon added a comment.

Are there any AVX512 ISAs that generate b/w broadcasts folded instructions?



================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:5325
+  case TB_BCAST_B:
+    assert(STI.hasBWI() && "Byte broadcast requires avx512bw!");
+    switch (SpillSize) {
----------------
Test coverage?


================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:5334
+  case TB_BCAST_W:
+    assert(STI.hasBWI() && "Word broadcast requires avx512bw!");
+    switch (SpillSize) {
----------------
Test coverage?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67017/new/

https://reviews.llvm.org/D67017





More information about the llvm-commits mailing list