[all-commits] [llvm/llvm-project] 1597e5: [SVE][Builtins] Lower X forms of fp binop/mla arit...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Sun Mar 12 05:16:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1597e5e6932b944c2c382a138e76b757da56b200
      https://github.com/llvm/llvm-project/commit/1597e5e6932b944c2c382a138e76b757da56b200
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2023-03-12 (Sun, 12 Mar 2023)

  Changed paths:
    M clang/include/clang/Basic/TargetBuiltins.h
    M clang/include/clang/Basic/arm_sve.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c

  Log Message:
  -----------
  [SVE][Builtins] Lower X forms of fp binop/mla arithmetic builtins to dedicated intrinsics

This patch changes the lowering for the following fp builtins to
emit calls to the new aarch64.sve.###.u intrinsics.
  svabd_x, svabd_n_x
  svadd_x, svadd_n_x
  svdiv_x, svdiv_n_x
  svdivr_x, svdivr_n_x
  svmad_x, svmad_n_x
  svmax_x, svmax_n_x
  svmaxnm_x, svmaxnm_n_x
  svmin_x, svmin_n_x
  svminnm_x, svminnm_n_x
  svmla_x, svmla_n_x
  svmls_x, svmls_n_x
  svmsb_x, svmsb_n_x
  svmul_x, svmul_n_x
  svmulx_x, svmulx_n_x
  svnmad_x, svnmad_n_x
  svnmla_x, svnmla_n_x
  svnmls_x, svnmls_n_x
  svnmsb_X, svnmsb_n_x
  svsub_x, svsub_n_x
  svsubr_x, svsubr_n_x

Depends on D143765.

Differential Revision: https://reviews.llvm.org/D143767




More information about the All-commits mailing list