[all-commits] [llvm/llvm-project] 8c6c52: [LV] Don't consider FORs as profitable to scalarize.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri May 9 12:31:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c6c525a6bbb34a146a3d1f239757758e2d738e8
      https://github.com/llvm/llvm-project/commit/8c6c525a6bbb34a146a3d1f239757758e2d738e8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll

  Log Message:
  -----------
  [LV] Don't consider FORs as profitable to scalarize.

Fixed-order recurrence phis cannot be scalarized, they will always be
widened at the moment. Make sure they are not incorrectly considered
profitable to scalarize, similar to 41c1a7be3f1a2556e.

Fixes https://github.com/llvm/llvm-project/issues/139060.
Fixes https://github.com/llvm/llvm-project/issues/139065.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list