SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [InstCombine] More usub_sat tests. NFC. (details)
  2. [InstCombine] Adjust usub_sat fold one use checks (details)
  3. [InstCombine] Expand usub_sat patterns to handle constants (details)
Commit a46b959ebd605e9dc4bc0e041dac3bdf2f3d8989 by david.green
[InstCombine] More usub_sat tests. NFC.
The file was modifiedllvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll
Commit 3a1bef5616c3eb466b5f8a076385ee09e5a9ad9a by david.green
[InstCombine] Adjust usub_sat fold one use checks
This adjusts the one use checks in the the usub_sat fold code to not
increase instruction count, but otherwise do the fold. Reviewed as a
part of D69514.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll
Commit 59b56e5c579c51e1333b4c6e96d127f50f191c14 by david.green
[InstCombine] Expand usub_sat patterns to handle constants
The constants come through as add %x, -C, not a sub as would be
expected. They need some extra matchers to canonicalise them towards
usub_sat.
Differential Revision: https://reviews.llvm.org/D69514
The file was modifiedllvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp