[PATCH] D133362: [InstCombine] Fold x + (x | -x) to x & (x - 1)

Marc Auberer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 11:20:06 PDT 2022


marcauberer updated this revision to Diff 459138.
marcauberer added a comment.

Better handling for nuw and nsw flags in tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133362

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/add_or_sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133362.459138.patch
Type: text/x-patch
Size: 11058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220909/7983dc8a/attachment.bin>


More information about the llvm-commits mailing list