[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
Tue Dec 20 18:53:04 PST 2022


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

Rebased after tests landed in master


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.484448.patch
Type: text/x-patch
Size: 12060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221221/f9a50722/attachment.bin>


More information about the llvm-commits mailing list