[ConstraintElimination] Decompose add nuw/sub nuw.
authorFlorian Hahn <flo@fhahn.com>
Wed, 18 Nov 2020 11:25:39 +0000 (11:25 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 18 Nov 2020 20:29:30 +0000 (20:29 +0000)
commit2fead1ac61f87b0bcee898007b4831f3e0533c84
tree1407160123127975eb7f25d802c0897cc97f9edd
parent97e55cfef5b86b1b190b6f3f57ca2a89ec61c14f
[ConstraintElimination] Decompose add nuw/sub nuw.

Make use of the more flexible constraint handling added in
a8a79c90699a7ae9dee07daf7281cbbd592bf6ea to decompose add nuw/sub nuw.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/add-nuw.ll
llvm/test/Transforms/ConstraintElimination/sub-nuw.ll