[PATCH] D150294: [X86] Invert transforming `(x * (Pow2_Ceil(C1) - (1 << C0))) & C1` -> `(-x << C0) & C1`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 15:09:38 PDT 2023


goldstein.w.n updated this revision to Diff 521460.
goldstein.w.n edited the summary of this revision.
goldstein.w.n added a comment.

Clarify comments / commit message


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150294

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/undo-mul-and.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150294.521460.patch
Type: text/x-patch
Size: 11437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230511/fe858beb/attachment.bin>


More information about the llvm-commits mailing list