[all-commits] [llvm/llvm-project] 5528a0: [VectorUtils] Discard predicates if no interleave ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 24 12:04:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5528a0e984c3d4d840af98001960ff345167d0cd
      https://github.com/llvm/llvm-project/commit/5528a0e984c3d4d840af98001960ff345167d0cd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/discarded-interleave-group.ll

  Log Message:
  -----------
  [VectorUtils] Discard predicates if no interleave groups are found. (#205424)

If no interleave groups are found, the predicates won't be used and
should be dropped. Update to use the new variant of getPtrStride which
returns the added predicates (added in
https://github.com/llvm/llvm-project/pull/203787).

This enables only committing the predicates if there are any interleave
groups.

PR: https://github.com/llvm/llvm-project/pull/205424



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