[all-commits] [llvm/llvm-project] 9986b3: [SveEmitter] Explicitly merge with zero/undef

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Apr 20 08:28:14 PDT 2020


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

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c

  Log Message:
  -----------
  [SveEmitter] Explicitly merge with zero/undef

Builtins that have the merge type MergeAnyExp or MergeZeroExp,
merge into a 'undef' or 'zero' vector respectively, which enables the
_x and _z behaviour for unary operations.

This patch also adds builtins for svabs and svneg.

Reviewers: SjoerdMeijer, efriedma, rovka

Reviewed By: efriedma

Tags: #clang

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




More information about the All-commits mailing list