[all-commits] [llvm/llvm-project] 8f59c1: [AArch64][Clang] Refactor code to emit SVE & SME b...

Kerry McLaughlin via All-commits all-commits at lists.llvm.org
Thu Nov 2 08:47:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f59c168a904eafb88c7c19e4d1e14b5e2765662
      https://github.com/llvm/llvm-project/commit/8f59c168a904eafb88c7c19e4d1e14b5e2765662
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c

  Log Message:
  -----------
  [AArch64][Clang] Refactor code to emit SVE & SME builtins (#70959)

This patch removes duplicated code in EmitAArch64SVEBuiltinExpr and
EmitAArch64SMEBuiltinExpr by creating a new function called
GetAArch64SVEProcessedOperands which handles splitting up multi-vector
arguments using vector extracts.

These changes are non-functional.




More information about the All-commits mailing list