[all-commits] [llvm/llvm-project] 89a8c7: [SDAG] Support expanding `FSINCOS` to vector libra...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Oct 31 05:42:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89a8c71db61282c4e7522ffda5dbee890900dca5
      https://github.com/llvm/llvm-project/commit/89a8c71db61282c4e7522ffda5dbee890900dca5
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/AArch64/veclib-llvm.sincos.ll

  Log Message:
  -----------
  [SDAG] Support expanding `FSINCOS` to vector library calls (#114039)

This shares most of its code with the scalar sincos expansion. It allows
expanding vector FSINCOS nodes to a library call from the specified
`-vector-library`. The upside of this is it will mean the vectorizer
only needs to handle the sincos intrinsic, which has no memory effects,
and this can handle lowering the intrinsic to a call that takes output
pointers.



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