freebsd-dev/contrib/llvm-project
Dimitry Andric 5c94a87341 Merge commit 64b31d96d from llvm git (by Nemanja Ivanovic):
[PowerPC] Do not attempt to reuse load for 64-bit FP_TO_UINT without
  FPCVT

  We call the function that attempts to reuse the conversion without
  checking whether the target matches the constraints that the callee
  expects. This patch adds the check prior to the call.

  Fixes: https://bugs.llvm.org/show_bug.cgi?id=43976

  Differential revision: https://reviews.llvm.org/D77564

This should fix 'Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT
|| Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with
FPCVT"), function LowerFP_TO_INTForReuse, file
/usr/src/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7276'
when building the devel/libslang2 port (and a few others) for PowerPC64.

Requested by:	pkubaj
MFC after:	6 weeks
X-MFC-With:	358851
2020-04-20 19:16:10 +00:00
..
clang Merge commit ce5173c0e from llvm git (by Reid Kleckner): 2020-04-20 17:39:51 +00:00
compiler-rt Merge ^/vendor/llvm-project/release-10.x up to its last change (upstream 2020-02-27 19:04:39 +00:00
libcxx Merge commit 585a3cc31 from llvm git (by me): 2020-03-18 20:50:30 +00:00
libunwind Merge commit 221c5af4e from llvm git (by Nico Weber): 2020-02-15 15:03:26 +00:00
lld Merge commit 315f8a55f from llvm git (by Fangrui Song): 2020-03-18 20:38:15 +00:00
lldb lldb: use lua as the default script language 2020-04-02 21:08:28 +00:00
llvm Merge commit 64b31d96d from llvm git (by Nemanja Ivanovic): 2020-04-20 19:16:10 +00:00
openmp Merge ^/vendor/lvm-project/master up to its last change (upstream commit 2020-01-24 22:00:03 +00:00
FREEBSD-Xlist lldb: stop excluding bindings/ subdir 2020-04-01 13:18:01 +00:00