[all-commits] [llvm/llvm-project] 02bdbd: [clang][SveEmitter] Fix enum declarations. [NFCI]

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Mon Nov 16 06:50:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 02bdbdc76021fcfb8cae465363b362cb889406d2
      https://github.com/llvm/llvm-project/commit/02bdbdc76021fcfb8cae465363b362cb889406d2
  Author: Francesco Petrogalli <francesco.petrogalli at arm.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    A clang/test/Sema/aarch64-sve-enums.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [clang][SveEmitter] Fix enum declarations. [NFCI]

Adapt the declarations of `svpattern` and `svprfop` to the most recent
one defined in section "5. Enum declarations" of the SVE ACLE
specifications [1].

The signature of the intrinsics using these enums have been changed
accordingly.

A test has been added to make sure that `svpattern` and `svprfop` are
not typedefs.

[1] https://developer.arm.com/documentation/100987/latest, version
00bet6

Reviewed By: joechrisellis

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




More information about the All-commits mailing list