[PATCH] D52075: [InstCombine] Support (sub (sext x), (sext y)) --> (sext (sub x, y)) and (sub (zext x), (zext y)) --> (zext (sub x, y))
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 15 06:42:13 PDT 2018
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM - but please add at least one negative test where the math actually could overflow, so we verify that the value tracking is in place.
Repository:
rL LLVM
https://reviews.llvm.org/D52075
More information about the llvm-commits
mailing list