]> granicus.if.org Git - llvm/commit
[InstCombine][NFC] Tests for non-canonical clamp-like pattern
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 5 Aug 2019 18:01:22 +0000 (18:01 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 5 Aug 2019 18:01:22 +0000 (18:01 +0000)
commit2ea81992bf4ff149e242b8e47082c8ecc75a857b
tree52ff6a90db0c78d810fec30de5022a7c25ea9741
parent0a79c1cc12c97701c0aeace9d1267d95719abee2
[InstCombine][NFC] Tests for non-canonical clamp-like pattern

As discussed in https://reviews.llvm.org/D65148#1607019

The canonical fold is: https://rise4fun.com/Alive/FKe

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367897 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll [new file with mode: 0644]
test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-zero-and-positive-threshold.ll [new file with mode: 0644]