[PATCH] D101836: [LoopVectorize] Enable strict reductions when allowReordering() returns false

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 07:57:02 PDT 2021


david-arm added inline comments.


================
Comment at: llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h:258
+  /// we can use in-order reductions.
+  bool canVectorizeFPMath(LoopVectorizeHints &Hints,
+                          bool EnableStrictReductions);
----------------
I think we can avoid passing in the Hints here as they are already a member of the class with the same name?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101836/new/

https://reviews.llvm.org/D101836



More information about the llvm-commits mailing list