[all-commits] [llvm/llvm-project] d2c40c: [LV] Check if VPlan contains FindLast reduction di...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jan 20 13:34:13 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2c40c358a736f59072503a59163c459030ace26
      https://github.com/llvm/llvm-project/commit/d2c40c358a736f59072503a59163c459030ace26
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-01-20 (Tue, 20 Jan 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LV] Check if VPlan contains FindLast reduction directly (NFC).

Directly check the VPlan to see if there are any FindLast reductions.
Currently this is NFC, but checking in the VPlan is more future proof,
e.g. if reductions are simplified, removed or transformed. Then checking
in legacy LoopVectorizationLegality is inaccruate.



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