[PATCH] D62699: [InlineCost] Add support for unary fneg.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 17:24:15 PDT 2019
craig.topper added a comment.
The only optimizations that are in simplifyFNegInst currently are constant folding and (fneg (fneg X))->X. The constant folding case would already have been supported by using visitUnaryInstruction. For the (fneg (fneg X)) case, will InlineCost be able to do something if one fneg is in the caller and the other is in the callee?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62699/new/
https://reviews.llvm.org/D62699
More information about the llvm-commits
mailing list