aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileCheckTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-01-20 08:17:42 -0500
committerSanjay Patel <spatel@rotateright.com>2020-01-20 08:48:32 -0500
commitda9c93f330e0e4bb12972ee7c67229c36943a0c1 (patch)
treef44eded0177366a98c0316d6ce38b76829b81408 /llvm/unittests/Support/FileCheckTest.cpp
parentde34b54edce4b7b4e4a68a02fae10283b3e2d7ea (diff)
downloadllvm-da9c93f330e0e4bb12972ee7c67229c36943a0c1.zip
llvm-da9c93f330e0e4bb12972ee7c67229c36943a0c1.tar.gz
llvm-da9c93f330e0e4bb12972ee7c67229c36943a0c1.tar.bz2
[InstSimplify] fold select of vector constants that include undef elements
As mentioned in D72643, we'd like to be able to assert that any select of equivalent constants has been removed before we're deep into InstCombine. But there's a loophole in that assertion for vectors with undef elements that don't match exactly. This patch should close that gap. If we have undefs, we can't safely propagate those unless both constants elements for that lane are undef. Differential Revision: https://reviews.llvm.org/D72958
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
0 files changed, 0 insertions, 0 deletions