Pull in r322016 from upstream llvm trunk (by Sanjay Patel):
authordim <dim@FreeBSD.org>
Thu, 18 Jan 2018 21:44:07 +0000 (21:44 +0000)
committerdim <dim@FreeBSD.org>
Thu, 18 Jan 2018 21:44:07 +0000 (21:44 +0000)
commit694405fe7f5be43d530af2a7a346335add2fe316
treec0e674fc71eee9437c9a996c2af8274e5edbcc7c
parentf663dd1f336af1514dda2f14c53dd556ee5ae475
Pull in r322016 from upstream llvm trunk (by Sanjay Patel):

  [ValueTracking] remove overzealous assert

  The test is derived from a failing fuzz test:
  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5008

  Credit to @rksimon for pointing out the problem.

This should fix "Bad flavor while matching min/max" errors when building
the graphics/libsixel and science/kst2 ports.

Reported by: jbeich
PR: 225268, 225269
contrib/llvm/lib/Analysis/ValueTracking.cpp