[PATCH] D34141: [X86] Recognize constant arrays with special values and replace loads from it with subtract and shift instructions, which then may be replaced by BZHI machine instruction.

Ayman Musa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 05:11:07 PDT 2017


aymanmus updated this revision to Diff 102318.
aymanmus added a comment.

Apply clang-format on changes


https://reviews.llvm.org/D34141

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/CodeGenPrepare.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/replace-load-with-sub-shr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34141.102318.patch
Type: text/x-patch
Size: 8769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/1ae06ad7/attachment.bin>


More information about the llvm-commits mailing list