mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Remove accidentally committed diff file
I accidentally added the upstream diff file from the llvm commit I merged in1a0329799c
. Clean it out. Noticed by: markj Fixes:1a0329799c
MFC after: 2 weeks
This commit is contained in:
parent
ec3c01ae72
commit
4e2d3f26bd
|
@ -1,34 +0,0 @@
|
|||
commit d9d15af7873fe16d7a0dde4def30f40fa9901777
|
||||
Author: Qiu Chaofan <qiucofan@cn.ibm.com>
|
||||
Date: Wed May 18 15:55:02 2022 +0800
|
||||
|
||||
[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
|
||||
|
||||
diff --git a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
|
||||
index 501cfa07efeb..7b956fd3478e 100644
|
||||
--- a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
|
||||
+++ b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
|
||||
@@ -491,15 +491,13 @@ bool PPCTTIImpl::mightUseCTR(BasicBlock *BB, TargetLibraryInfo *LibInfo,
|
||||
case Intrinsic::experimental_constrained_sin:
|
||||
case Intrinsic::experimental_constrained_cos:
|
||||
return true;
|
||||
- // There is no corresponding FMA instruction for PPC double double.
|
||||
- // Thus, we need to disable CTR loop generation for this type.
|
||||
- case Intrinsic::fmuladd:
|
||||
case Intrinsic::copysign:
|
||||
if (CI->getArgOperand(0)->getType()->getScalarType()->
|
||||
isPPC_FP128Ty())
|
||||
return true;
|
||||
else
|
||||
continue; // ISD::FCOPYSIGN is never a library call.
|
||||
+ case Intrinsic::fmuladd:
|
||||
case Intrinsic::fma: Opcode = ISD::FMA; break;
|
||||
case Intrinsic::sqrt: Opcode = ISD::FSQRT; break;
|
||||
case Intrinsic::floor: Opcode = ISD::FFLOOR; break;
|
Loading…
Reference in a new issue