[all-commits] [llvm/llvm-project] c1c5b8: [LV] Remove loop trip count threshold for deciding...

Nilanjana Basu via All-commits all-commits at lists.llvm.org
Mon Feb 5 17:24:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1c5b854adc9414ee3d8c55ddd07bdb4cc5b7171
      https://github.com/llvm/llvm-project/commit/c1c5b854adc9414ee3d8c55ddd07bdb4cc5b7171
  Author: Nilanjana Basu <n_basu at apple.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/deterministic-type-shrinkage.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/interleave_count_for_estimated_tc.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/interleave_count_for_known_tc.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions-unusual-types.ll
    M llvm/test/Transforms/LoopVectorize/SystemZ/zero_unroll.ll
    M llvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll
    M llvm/test/Transforms/LoopVectorize/X86/interleave_short_tc.ll
    M llvm/test/Transforms/LoopVectorize/X86/limit-vf-by-tripcount.ll
    M llvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
    M llvm/test/Transforms/LoopVectorize/X86/metadata-enable.ll
    M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
    M llvm/test/Transforms/LoopVectorize/X86/unroll-small-loops.ll
    M llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll
    M llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-loopid-dbg.ll
    M llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/quant_4x4.ll
    M llvm/test/Transforms/PhaseOrdering/X86/excessive-unrolling.ll

  Log Message:
  -----------
  [LV] Remove loop trip count threshold for deciding whether to interleave a loop (#67725)

A set of microbenchmarks (https://github.com/llvm/llvm-test-suite/pull/26) showed that loop interleaving can be beneficial for loops with low trip count as well. Loop interleaving count computation is updated accordingly in prior patches while this patch removes the loop trip count threshold for interleaving.




More information about the All-commits mailing list