[all-commits] [llvm/llvm-project] d3e470: [AArch64] [LoopVectorize] Use either fixed-width o...

Rin via All-commits all-commits at lists.llvm.org
Thu Oct 5 02:24:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3e4702c0f6bd83e1247ede4b05463758f661f60
      https://github.com/llvm/llvm-project/commit/d3e4702c0f6bd83e1247ede4b05463758f661f60
  Author: Rin <irina.dobrescu at arm.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll

  Log Message:
  -----------
  [AArch64] [LoopVectorize] Use either fixed-width or scalable VF when tail-folding (#67543)

Since the getMaximisedVFForTarget function is called twice, once for fixed-width and once for scalable, it adds no value to always return a fixed-width VF. Instead, when we are tail-folding, we can use either fixed-width or scalable vectors.




More information about the All-commits mailing list