forked from OSchip/llvm-project
LowerMatrixIntrinsics: Avoid use of deprecated CreateCall methods
Reviewers: t.p.northover Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74675
This commit is contained in:
parent
464d4cf7e6
commit
58297e4d8f
|
@ -742,7 +742,7 @@ public:
|
|||
if (AllowContraction) {
|
||||
// Use fmuladd for floating point operations and let the backend decide
|
||||
// if that's profitable.
|
||||
Value *FMulAdd = Intrinsic::getDeclaration(
|
||||
Function *FMulAdd = Intrinsic::getDeclaration(
|
||||
Func.getParent(), Intrinsic::fmuladd, A->getType());
|
||||
return Builder.CreateCall(FMulAdd, {A, B, Sum});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue