[PATCH] D113125: [LoopVectorize] Propagate fast-math flags for VPInstruction
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 9 04:52:41 PST 2021
sdesmalen added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.cpp:765
+ FMF.print(O);
+
----------------
nit: `O << FMF` ?
================
Comment at: llvm/test/Transforms/LoopVectorize/vplan-printing.ll:241
+; CHECK-NEXT: EMIT vp<%6> = fmul nnan ninf nsz ir<%0> ir<%1>
+; CHECK-NEXT: REDUCE ir<%muladd> = ir<%sum.07> + reduce.fadd (vp<%6>)
+; CHECK-NEXT: No successors
----------------
nit: Should `VPReductionRecipe::print` also print the fast-math flags?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113125/new/
https://reviews.llvm.org/D113125
More information about the llvm-commits
mailing list