[all-commits] [llvm/llvm-project] 0ddb20: [SveEmitter] Add builtins for compares and Reverse...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri Apr 24 06:35:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ddb2034c161bbc40035ae5a9d8864d216df84f2
      https://github.com/llvm/llvm-project/commit/0ddb2034c161bbc40035ae5a9d8864d216df84f2
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-24 (Fri, 24 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_cmpeq.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [SveEmitter] Add builtins for compares and ReverseCompare flag.

The IsReverseCompare flag tells CGBuiltin to swap the operands,
so that a LT/LE intrinsics can be expressed in terms of GE/GT
intrinsics.

This patch also adds builtins for the wide-variants of the compares.

Reviewers: SjoerdMeijer, efriedma, ctetreau

Reviewed By: efriedma

Tags: #clang

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




More information about the All-commits mailing list