[all-commits] [llvm/llvm-project] 0e28c9: [LAA] Skip undef/poison strides in collectStridedA...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Oct 26 22:01:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e28c9bc9d64625db8e4a1707720c9eecff069a4
      https://github.com/llvm/llvm-project/commit/0e28c9bc9d64625db8e4a1707720c9eecff069a4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/test/Transforms/LoopVectorize/version-mem-access.ll

  Log Message:
  -----------
  [LAA] Skip undef/poison strides in collectStridedAccess.

The map returned by collectStridedAccess is used to replace strides with
their versioned values. This does not work for Undef/Poison, which don't
have use-lists. Don't try to version them, as versioning won't be useful in
practice.

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



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