[InstCombine] remove redundant fold for extractelement; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 23 May 2019 23:33:38 +0000 (23:33 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 23 May 2019 23:33:38 +0000 (23:33 +0000)
commit093c922205fe53be35edcf99258aa5a00981c605
tree809a5842678dad61d2670b6c2e63202890095819
parent4d4df6f144d93a901387c66d73183a72e198ee4f
[InstCombine] remove redundant fold for extractelement; NFC

The out-of-bounds index pattern is handled by InstSimplify,
so the extractelement should be eliminated next time it is
visited.

llvm-svn: 361570
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp