[all-commits] [llvm/llvm-project] e4872d: [SveEmitter] Add builtins for svlen

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e4872d7f08a1d6f657aaf3bd83b2e3b65fccebd4
      https://github.com/llvm/llvm-project/commit/e4872d7f08a1d6f657aaf3bd83b2e3b65fccebd4
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-27 (Mon, 27 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_len.c

  Log Message:
  -----------
  [SveEmitter] Add builtins for svlen

The svlen builtins return the number of elements in a vector
and are implemented using `llvm.vscale`.

Reviewed By: efriedma

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




More information about the All-commits mailing list