]> granicus.if.org Git - llvm/commit
[SelectionDAG] soften assertion when legalizing narrow vector FP ops
authorSanjay Patel <spatel@rotateright.com>
Sat, 25 May 2019 13:48:07 +0000 (13:48 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 25 May 2019 13:48:07 +0000 (13:48 +0000)
commit1b57a73f6e6d0bbf1fbffe2f711d1bf70afda00c
tree7b3d6d7d396f3b9e260901d4be0b4fee5cb14cdb
parentf441bf782fdee9addfcc1bf12ee99235cd6829b3
[SelectionDAG] soften assertion when legalizing narrow vector FP ops

The test based on PR42010:
https://bugs.llvm.org/show_bug.cgi?id=42010
...may show an inaccuracy for PPC's target defs, but we should not
be so aggressive with an assert here. There's no telling what out-of-tree
targets look like.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/PowerPC/ftrunc-legalize.ll [new file with mode: 0644]