[PATCH] D74675: LowerMatrixIntrinsics: Avoid use of deprecated CreateCall methods
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 15:31:29 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG58297e4d8f1f: LowerMatrixIntrinsics: Avoid use of deprecated CreateCall methods (authored by nhaehnle).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74675/new/
https://reviews.llvm.org/D74675
Files:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Index: llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+++ llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -742,7 +742,7 @@
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});
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74675.245049.patch
Type: text/x-patch
Size: 650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/d28101c7/attachment.bin>
More information about the llvm-commits
mailing list