[all-commits] [llvm/llvm-project] a08c90: [LV] Re-use TripCount from EPI.TripCount.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Apr 1 05:47:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a08c90a4023f8cf72aa8632b0e8d4e77c398ad4b
      https://github.com/llvm/llvm-project/commit/a08c90a4023f8cf72aa8632b0e8d4e77c398ad4b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/intrinsiccost.ll
    M llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
    M llvm/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
    M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll

  Log Message:
  -----------
  [LV] Re-use TripCount from EPI.TripCount.

During skeleton construction for the epilogue vector loop, generic
helpers use getOrCreateTripCount, which will re-expand the trip count
computation. Instead, re-use the TripCount created during main loop
vectorization.




More information about the All-commits mailing list