[all-commits] [llvm/llvm-project] 3817ca: [SveEmitter] Add IsAppendSVALL and builtins for sv...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Sun Apr 26 04:46:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3817ca7dbf8d360fd6a2ff44722af1405722ad38
      https://github.com/llvm/llvm-project/commit/3817ca7dbf8d360fd6a2ff44722af1405722ad38
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-26 (Sun, 26 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/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c

  Log Message:
  -----------
  [SveEmitter] Add IsAppendSVALL and builtins for svptrue and svcnt[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 IsAppendSVALL to append SV_ALL as the final
operand.

Reviewers: SjoerdMeijer, efriedma, rovka, rengolin

Reviewed By: efriedma

Tags: #clang

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




More information about the All-commits mailing list