[InstCombine] allow (icmp sgt smin(PosA, B), 0) fold for vectors
authorSanjay Patel <spatel@rotateright.com>
Thu, 15 Sep 2016 16:23:20 +0000 (16:23 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 15 Sep 2016 16:23:20 +0000 (16:23 +0000)
commit40c53ea93374d90c303e4b9606cbcc745db9df95
tree7221a277b7029e47c9a4da67a7dea730893642ee
parent78a7c7d26a27a95eee3114affbbd027d08261dee
[InstCombine] allow (icmp sgt smin(PosA, B), 0) fold for vectors

llvm-svn: 281624
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/min-positive.ll