[SelectionDAG] soften splat mask assert/unreachable (PR41535)
authorSanjay Patel <spatel@rotateright.com>
Fri, 19 Apr 2019 15:31:11 +0000 (15:31 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 19 Apr 2019 15:31:11 +0000 (15:31 +0000)
commite197c617a64c1deaa412f24c0e398569bec2f1c8
tree0f77e07c6451a55a47bb99d53c1405fae6c3fbea
parente145a540cc906c0ee0fd9e3ab2dc463a193eb91c
[SelectionDAG] soften splat mask assert/unreachable (PR41535)

These are general queries, so they should not die when given
a degenerate input like an all undef mask. Callers should be
able to deal with an op that will eventually be simplified away.

llvm-svn: 358761
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/test/CodeGen/AArch64/shuffle-mask-legal.ll [new file with mode: 0644]