[PATCH] D138814: [InstCombine] Combine a/lshr of add -> uadd.with.overflow
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 06:24:59 PST 2022
Pierre-vh updated this revision to Diff 478932.
Pierre-vh added a comment.
Since I relaxed the rules on the combine, another test changed.
Not sure if the new conditions are correct, what do you think?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138814/new/
https://reviews.llvm.org/D138814
Files:
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
llvm/test/Transforms/InstCombine/pr34349.ll
llvm/test/Transforms/InstCombine/shift-add.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138814.478932.patch
Type: text/x-patch
Size: 16892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/e589249c/attachment.bin>
More information about the llvm-commits
mailing list