[all-commits] [llvm/llvm-project] 738533: [AArch64] Consider streaming mode in TTI interface...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Mon Jun 24 03:06:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 738533c84aeb56fff94b19c71714f54ae91c3670
      https://github.com/llvm/llvm-project/commit/738533c84aeb56fff94b19c71714f54ae91c3670
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll

  Log Message:
  -----------
  [AArch64] Consider streaming mode in TTI interfaces for vectorization. (#96305)

At the moment, vectorization is only enabled in streaming(-compatible)
mode when enabled through an option. But the interfaces should check
more than just 'hasSVE()', because a function with +sme in streaming
mode should also vectorize with the option enabled.

Additionally, a streaming-compatible function should only be able to use
fixed-length autovec if SVE is available, otherwise the vector code will
be scalarised by the backend.



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