]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r348288:
authordim <dim@FreeBSD.org>
Wed, 29 May 2019 18:32:43 +0000 (18:32 +0000)
committerdim <dim@FreeBSD.org>
Wed, 29 May 2019 18:32:43 +0000 (18:32 +0000)
commit404321f141c84d03e7eac3c5bea927915dcd97ee
tree1a35362ff631bbcb4973077fccb7239cca26d852
parent89456f1075d0262716cff314257d266c3f923c99
MFC r348288:

Pull in r361696 from upstream llvm trunk (by Sanjay Patel):

  [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.

This fixes an assertion when building the graphics/mesa-dri port for
PowerPC64.

Approved by: re (kib)
Reported by: Mark Millard <marklmi26-fbsd@yahoo.com>
PR: 238082
contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp