]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge commit 468a0cb5f from llvm git (by Craig Topper):
authordim <dim@FreeBSD.org>
Wed, 1 Jan 2020 19:45:00 +0000 (19:45 +0000)
committerdim <dim@FreeBSD.org>
Wed, 1 Jan 2020 19:45:00 +0000 (19:45 +0000)
commit459918405b6b046aea96dceb5f71bf1d4cb6d6b3
treec18e5d4fe1fabf9e19435ccd0a22140ca8f1d44b
parentb7749b90eef349df874c2dac7852004701c58fac
Merge commit 468a0cb5f from llvm git (by Craig Topper):

  [X86] Add X87 FCMOV support to X86FlagsCopyLowering.

  Fixes PR44396

Merge commit 86f48999f from llvm git (by Craig Topper):

  [X86] Fix typo in getCMovOpcode.

  The 64-bit HasMemoryOperand line was using CMOV32rm instead of
  CMOV64rm. Not sure how to test this. We have no test coverage that
  passes true for HasMemoryOperand.

This fixes 'Assertion failed: (MI.findRegisterDefOperand(X86::EFLAGS) &&
"Expected a def of EFLAGS for this instruction!"), function
runOnMachineFunction' when compiling the misc/gpsim port for i386.

Reported by: yuri
Upstream PR: https://bugs.llvm.org/show_bug.cgi?id=44396
MFC after: 1 week
contrib/llvm-project/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
contrib/llvm-project/llvm/lib/Target/X86/X86InstrInfo.cpp