aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp')
-rw-r--r--llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp b/llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
index fcc25d9..36fad9e 100644
--- a/llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
+++ b/llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
@@ -918,13 +918,13 @@ static Value *replaceSymmetricNode(ComplexDeinterleavingGraph::RawNodePtr Node,
switch (I->getOpcode()) {
case Instruction::FNeg:
- return B.CreateFNeg(InputA);
+ return B.CreateFNegFMF(InputA, I);
case Instruction::FAdd:
- return B.CreateFAdd(InputA, InputB);
+ return B.CreateFAddFMF(InputA, InputB, I);
case Instruction::FSub:
- return B.CreateFSub(InputA, InputB);
+ return B.CreateFSubFMF(InputA, InputB, I);
case Instruction::FMul:
- return B.CreateFMul(InputA, InputB);
+ return B.CreateFMulFMF(InputA, InputB, I);
}
return nullptr;