[PATCH] D110488: [InstCombine] Canonicalize ((X & -X) - 1) --> (~X & (X - 1)) (PR51784)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 06:41:12 PDT 2022


RKSimon updated this revision to Diff 455185.
RKSimon added a comment.

rebase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110488

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/add-mask-neg.ll
  llvm/test/Transforms/InstCombine/ctpop-cttz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110488.455185.patch
Type: text/x-patch
Size: 6321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/d3293d67/attachment-0001.bin>


More information about the llvm-commits mailing list