[PATCH] D57789: [CGP] form usub with overflow from sub+icmp
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 16 07:09:13 PST 2019
spatel added a comment.
Independent of this patch, but just so everyone's aware - there's currently no consistency in the way we transform to the overflow intrinsics. We may transform to sadd.with.overflow as an IR canonicalization (no target checks):
https://godbolt.org/z/2ajU23
I don't think there's any place in the IR optimizer or backend that creates ssub.with.overflow from raw ops at the moment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57789/new/
https://reviews.llvm.org/D57789
More information about the llvm-commits
mailing list