[PATCH] D123374: [InstCombine] Fold (A & 2^C1) + A => A & (2^C1 - 1) iff bit C1 in A is a sign bit (PR21929)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 08:59:10 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGffe13960b579: [InstCombine] Fold (A & 2^C1) + A => A & (2^C1 - 1) iff bit C1 in A is a sign… (authored by RKSimon).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123374/new/
https://reviews.llvm.org/D123374
Files:
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/add-mask.ll
llvm/test/Transforms/InstCombine/modulo.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123374.424496.patch
Type: text/x-patch
Size: 5712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/436cd816/attachment.bin>
More information about the llvm-commits
mailing list