[flang-commits] [mlir] [libcxx] [clang] [flang] [clang-tools-extra] [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


================
@@ -7486,7 +7486,8 @@ static void createAndCollectMergePhiForReduction(
   auto *PhiR = cast<VPReductionPHIRecipe>(RedResult->getOperand(0));
   const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor();
 
-  TrackingVH<Value> ReductionStartValue = RdxDesc.getRecurrenceStartValue();
+  TrackingVH<Value> ReductionStartValue =
----------------
ayalz wrote:

Is ReductionStartValue still used, after inlining it below? Why/is this change needed?

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


More information about the flang-commits mailing list