[PATCH] D140087: [X86] Replace (31/63 -/^ X) with (NOT X) and ignore (32/64 ^ X) when computing shift count

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 09:19:59 PST 2022


goldstein.w.n updated this revision to Diff 483985.
goldstein.w.n added a comment.

Add commit with not-shift.ll and no peephole.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140087

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/legalize-shift-64.ll
  llvm/test/CodeGen/X86/not-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140087.483985.patch
Type: text/x-patch
Size: 12060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/97147778/attachment.bin>


More information about the llvm-commits mailing list