[all-commits] [llvm/llvm-project] ac03ae: [LV] Preserve LAA in LoopVectorize (NFCI).

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jul 5 13:42:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac03ae30cf2b6465ea8f117dfa74ba6f670f6258
      https://github.com/llvm/llvm-project/commit/ac03ae30cf2b6465ea8f117dfa74ba6f670f6258
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/novect-lcssa-cfg-invalidation.ll

  Log Message:
  -----------
  [LV] Preserve LAA in LoopVectorize (NFCI).

LoopVectorize already always preserves DT, LI and SCEV. If any changes
get made to the CFG, cached LAA info for loops are cleared.

LoopAccessAnalysis also implements ::invalidate to clear the analysis if
SE, DT or LI gets invalidated. Hence it should be safe to preserve LAA
and save a small amount of compile-time.



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