]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply llvm fix for "Invalid PPC CTR loop!" error on powerpcspe
authorDimitry Andric <dim@FreeBSD.org>
Wed, 18 May 2022 09:02:03 +0000 (11:02 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sat, 4 Jun 2022 12:00:13 +0000 (14:00 +0200)
commita8291db89851130a3efa83ea836e57372ffff7ea
tree361454a36f883c2b5323a11486c73c7eee28d845
parenta13b6fc61908fd6afa460b88f94e4a67be74bb9a
Apply llvm fix for "Invalid PPC CTR loop!" error on powerpcspe

Merge commit d9d15af7873f from llvm git (Qiu Chaofan):

  [PowerPC] Treat llvm.fmuladd intrinsic as using CTR

  This fixes bug 55463, similar to D78668. This is a temporary fix since
  we will switch to post-isel CTR loop determination in the future.

  Reviewed By: dim, shchenz

  Differential Revision: https://reviews.llvm.org/D125746

MFC after: 2 weeks

(cherry picked from commit 1a0329799c6d8bfb7eca89d0c8736736b8ab446c)
commit-d9d15af7873fe16d7a0dde4def30f40fa9901777.diff [new file with mode: 0644]
contrib/llvm-project/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp