[all-commits] [llvm/llvm-project] 37e309: [AArch64][LoopIdiom] Generalize AArch64LoopIdiomTr...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Fri Jun 7 14:06:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37e309f1635404bfca029c3712ee227a892cd4cf
      https://github.com/llvm/llvm-project/commit/37e309f1635404bfca029c3712ee227a892cd4cf
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64.h
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.h
    R llvm/lib/Target/AArch64/AArch64PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.h
    M llvm/lib/Target/AArch64/CMakeLists.txt
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    A llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    M llvm/test/Transforms/LoopIdiom/AArch64/byte-compare-index.ll

  Log Message:
  -----------
  [AArch64][LoopIdiom] Generalize AArch64LoopIdiomTransform into LoopIdiomVectorize (#94081)

To facilitate sharing LoopIdiomTransform between AArch64 and RISC-V,
this first patch moves AArch64LoopIdiomTransform from lib/Target/AArch64
to lib/Transforms/Vectorize and renames it to LoopIdiomVectorize. The
following patch (#94082) will teach LoopIdiomVectorize how to generate VP
intrinsics (in addition to the current masked vector style) in favor of
RVV.



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