[PATCH] D69396: [IR] Use UnaryOperator::CreateFNeg in NoFolder::createFNeg
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 11:09:24 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6d63bf919489: [IR] Use UnaryOperator::CreateFNeg in NoFolder::createFNeg (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69396/new/
https://reviews.llvm.org/D69396
Files:
llvm/include/llvm/IR/NoFolder.h
Index: llvm/include/llvm/IR/NoFolder.h
===================================================================
--- llvm/include/llvm/IR/NoFolder.h
+++ llvm/include/llvm/IR/NoFolder.h
@@ -196,7 +196,7 @@
}
Instruction *CreateFNeg(Constant *C) const {
- return BinaryOperator::CreateFNeg(C);
+ return UnaryOperator::CreateFNeg(C);
}
Instruction *CreateNot(Constant *C) const {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69396.226709.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191028/77d6f99f/attachment.bin>
More information about the llvm-commits
mailing list