[PATCH] D95690: [LoopVectorize] improve IR fast-math-flags propagation in reductions
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 18:25:13 PST 2021
MaskRay added inline comments.
================
Comment at: llvm/lib/Analysis/IVDescriptors.cpp:312
+ // standardize on fmin/fmax via intrinsics, this can be removed.
+ assert(isa<FCmpInst>(Sel->getCondition()) && "Expected fcmp min/max");
+ CurFMF |= cast<FCmpInst>(Sel->getCondition())->getFastMathFlags();
----------------
I notice that the assert may fail. We will work on a reproduce.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95690/new/
https://reviews.llvm.org/D95690
More information about the llvm-commits
mailing list