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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 03:44:25 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG09cdddea0c4d: [InstCombine] Fold x + (x | -x) to x & (x - 1) (authored by marcauberer, committed by spatel).

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.459344.patch
Type: text/x-patch
Size: 11053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220911/f9e50997/attachment-0001.bin>


More information about the llvm-commits mailing list