[PATCH] D138814: [InstCombine] Combine a/lshr of add -> uadd.with.overflow
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 07:55:53 PST 2022
foad added a comment.
> What do you think about producing the sequence with 'not' + 'icmp' instead of the uadd + extract?
The point about using uadd.with.overflow is that it also gives you the truncated 32 bit result of the add.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138814/new/
https://reviews.llvm.org/D138814
More information about the llvm-commits
mailing list