]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r312993:
authordim <dim@FreeBSD.org>
Fri, 3 Feb 2017 19:15:53 +0000 (19:15 +0000)
committerdim <dim@FreeBSD.org>
Fri, 3 Feb 2017 19:15:53 +0000 (19:15 +0000)
commit31ca27e6c7efc70a48d3fb6af7d5bcfa7c4afc7b
tree5572987b87a1f8fc55ae7497dabe3a2aa6168efa
parent0c2cdf37416d6bc499c24e9034b3808ea0aeeadb
MFC r312993:

Pull in r279454 from upstream llvm trunk (by James Molloy):

  [SROA] Remove incorrect assertion

  Confirmed with aprantl, this assertion is incorrect - code can get
  here (for example 80-bit FP types) and if it does it's benign. This
  is exposed by a completely unrelated patch of mine, so stop the
  compiler falling over.

  Original differential: http://reviews.llvm.org/D16187
  aprantl's advice to remove assertion:
  http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160815/382129.html

This should fix assertions when building the math/opensolaris-libm port.

Reported by: marino
contrib/llvm/lib/Transforms/Scalar/SROA.cpp