[all-commits] [llvm/llvm-project] 2ab910: [LV] Check pointer user are in loop when checking ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Aug 13 01:24:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ab910c08c4ed43d6fd9eb2ef9b3ff52e0293cf9
      https://github.com/llvm/llvm-project/commit/2ab910c08c4ed43d6fd9eb2ef9b3ff52e0293cf9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/X86/gep-use-outside-loop.ll

  Log Message:
  -----------
  [LV] Check pointer user are in loop when checking for uniform pointers.

Widening decisions are not set for users outside the loop. Avoid
crashing by only calling isVectorizedMemAccessUse for users in the loop.

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



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