[all-commits] [llvm/llvm-project] 4f705a: [VPlan] Fix optimizeFindIVReductions not negating ...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jul 30 10:55:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f705acc388ab2c627fb263d89d1d60468f8a97b
      https://github.com/llvm/llvm-project/commit/4f705acc388ab2c627fb263d89d1d60468f8a97b
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/find-last.ll

  Log Message:
  -----------
  [VPlan] Fix optimizeFindIVReductions not negating condition of blend (#213050)

Fixes #212993

#194729 made the m_Select a m_SelectLike, so FindLastSelect could now be
a blend. However we were checking the first operand to see if the Cond
needed inverted. A select has `select %cond, %true, %false`, a blend is
`blend %false, %cond, %true`, so we were failing to negate the
condition.



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