[InstSimplify] fold max (max X, Y), X --> max X, Y
authorSanjay Patel <spatel@rotateright.com>
Sun, 2 Aug 2020 15:11:05 +0000 (11:11 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 2 Aug 2020 15:50:58 +0000 (11:50 -0400)
commit4abc69c6f541e7726913c9b0940728b1e0024b4a
treef3e8178702d0c3cbb846bd465a7e871dc69a6156
parente37987563ad194c41125ce836cc04df57737c698
[InstSimplify] fold max (max X, Y), X --> max X, Y

https://alive2.llvm.org/ce/z/VGgG3M
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll