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:
Nicolai Hähnle 2020-02-15 21:18:25 +01:00
parent 464d4cf7e6
commit 58297e4d8f
1 changed files with 1 additions and 1 deletions

View File

@ -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});
}