[InstSimplify][PhaseOrdering] add tests for vector select of min/max; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 28 Sep 2022 16:13:34 +0000 (12:13 -0400)
committerSanjay Patel <spatel@rotateright.com>
Thu, 29 Sep 2022 16:06:55 +0000 (12:06 -0400)
commit8bfba17b409000deae6436f92080d0c96bf5ea3b
tree0c1c6624706b1fab9db4d1cc216b27c07a9d1e7f
parent4e9dd21015f2ed4d57d6bea08ca08a30ef6e5ce8
[InstSimplify][PhaseOrdering] add tests for vector select of min/max; NFC

The phase ordering test is the almost unoptimized IR for the example
in issue #42100; it was passed through -mem2reg to reduce obvious
excessive load/store and other noise.

D134879
llvm/test/Transforms/InstSimplify/select-maxmin.ll
llvm/test/Transforms/PhaseOrdering/vector-select.ll