[flang-commits] [clang] [clang-tools-extra] [flang] [mlir] [libcxx] [llvm] [LV] Improve AnyOf reduction codegen. (PR #78304)

via flang-commits flang-commits at lists.llvm.org
Wed Jan 31 03:22:29 PST 2024


================
@@ -9110,6 +9111,41 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
       continue;
 
     const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
+    // Adjust AnyOf reductions; replace the reduction phi for the selected value
----------------
ayalz wrote:

adjustRecipesForReductions() is getting excessively long, should be refactored. Its documentation above should (also) include the adjustment of AnyOf reductions described here.

https://github.com/llvm/llvm-project/pull/78304


More information about the flang-commits mailing list