[all-commits] [llvm/llvm-project] 662cba: [SveEmitter] Add IsOverloadNone flag and builtins ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Apr 22 08:43:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 662cbaf6476b7cc58d0d71ff98d95d00ce5b420e
      https://github.com/llvm/llvm-project/commit/662cbaf6476b7cc58d0d71ff98d95d00ce5b420e
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  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/lib/CodeGen/CodeGenFunction.h
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [SveEmitter] Add IsOverloadNone flag and builtins for svpfalse and svcnt[bhwd]_pat

Add the IsOverloadNone flag to tell CGBuiltin that it does not have
an overloaded type. This is used for e.g. svpfalse which does
not take any arguments and always returns a svbool_t.

This patch also adds builtins for svcntb_pat, svcnth_pat, svcntw_pat
and svcntd_pat, as those don't require custom codegen.

Reviewers: SjoerdMeijer, efriedma, rovka

Reviewed By: efriedma

Tags: #clang

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




More information about the All-commits mailing list