[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
Sat May 13 10:12:41 PDT 2023


goldstein.w.n updated this revision to Diff 521908.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.

Fix some nits


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.521908.patch
Type: text/x-patch
Size: 11615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230513/221e911b/attachment.bin>


More information about the llvm-commits mailing list