[PATCH] D62629: [InstCombine] Update fptrunc (fneg x)) -> (fneg (fptrunc x) for unary FNeg
Cameron McInally via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 10:06:43 PDT 2019
cameron.mcinally marked an inline comment as done.
cameron.mcinally added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:1535
BinaryOperator *OpI = dyn_cast<BinaryOperator>(FPT.getOperand(0));
if (OpI && OpI->hasOneUse()) {
Type *LHSMinType = getMinimumFPType(OpI->getOperand(0));
----------------
This is the check that guarded the old BinaryOperator-only combine.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62629/new/
https://reviews.llvm.org/D62629
More information about the llvm-commits
mailing list