[all-commits] [llvm/llvm-project] 48c259: [VPlan] Use VPlan::hasTailFolded in materializeCon...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jul 14 09:30:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48c259847d186c4d773407c63393e28d0170666b
      https://github.com/llvm/llvm-project/commit/48c259847d186c4d773407c63393e28d0170666b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll

  Log Message:
  -----------
  [VPlan] Use VPlan::hasTailFolded in materializeConstantVectorTC. (#209502)

The current checks in materializeConstantVectorTripCount miss
tail-folded cases when vectorizing loops with fmax without fast-math
flags. Use recently added hasTailFolded helper to ensure we always bail
out on tail-folded loops.

Fixes https://github.com/llvm/llvm-project/issues/209159.



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