[all-commits] [llvm/llvm-project] 6f0b8a: [SLP] Use the correct calling convention for vecto...

David Sherwood via All-commits all-commits at lists.llvm.org
Wed Feb 11 02:53:20 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f0b8a7ebc75d413df048f494f43ee96bb3c86e1
      https://github.com/llvm/llvm-project/commit/6f0b8a7ebc75d413df048f494f43ee96bb3c86e1
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/aarch64-vector-functions.ll
    R llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll

  Log Message:
  -----------
  [SLP] Use the correct calling convention for vector math routines (#180759)

When vectorising calls to math intrinsics such as llvm.pow we
correctly detect and generate calls to the corresponding vector
math variant. However, we don't pick up and use the calling
convention for the vector math function. This matters for veclibs
such as ArmPL where the aarch64_vector_pcs calling convention
can improve codegen by reducing the number of registers that
need saving across calls.



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