[all-commits] [llvm/llvm-project] 03f419: [SveEmitter] IsInsertOp1SVALL and builtins for svq...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Apr 27 03:46:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03f419f3eb0c426a0a555be9abf7255a89b131cd
      https://github.com/llvm/llvm-project/commit/03f419f3eb0c426a0a555be9abf7255a89b131cd
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-27 (Mon, 27 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
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qdecb.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qdecd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qdech.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qdecw.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qincb.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qincd.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qinch.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_qincw.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [SveEmitter] IsInsertOp1SVALL and builtins for svqdec[bhwd] and svqinc[bhwd]

Some ACLE builtins leave out the argument to specify the predicate
pattern, which is expected to be expanded to an SV_ALL pattern.

This patch adds the flag IsInsertOp1SVALL to insert SV_ALL as the
second operand.

Reviewers: efriedma, SjoerdMeijer

Reviewed By: SjoerdMeijer

Tags: #clang

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




More information about the All-commits mailing list