[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 09:47:08 PDT 2019


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM with 2 minors, cheers.



================
Comment at: llvm/lib/Target/X86/X86InstrFoldTables.h:54
 
-  // Unused bits 12-15
 };
----------------
Unused bits 14-15


================
Comment at: llvm/lib/Target/X86/X86InstrFoldTables.h:55
+  // Broadcast type.
+  // (stored in bits 12 - 15)
+  TB_BCAST_TYPE_SHIFT = 12,
----------------
12 - 13 ?


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