[PATCH] D40334: [X86] Break false dependencies for POPCNT, LZCNT, TZCNT

Marina Yatsina via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 16:26:33 PST 2017


myatsina updated this revision to Diff 124847.
myatsina added a comment.

Added subtarget features.
Adding the rr versions of the instructions to hasPartialRegUpdate affected folding of memory operands for these instructions (if an instruction has partial reg update, then it folds only if optimizing for size) - Made a small adjustment  the test to recreate the problematic scenario after this change.


https://reviews.llvm.org/D40334

Files:
  lib/Target/X86/X86.td
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h
  test/CodeGen/X86/bug3389.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40334.124847.patch
Type: text/x-patch
Size: 11187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171130/ce23a727/attachment.bin>


More information about the llvm-commits mailing list