[PATCH] D75470: [SVE] Auto-generate builtins and header for svld1.

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 09:30:21 PST 2020


sdesmalen created this revision.
sdesmalen added reviewers: efriedma, rovka, SjoerdMeijer, rsandifo-arm.
Herald added subscribers: psnobl, rkruppe, mgrang, kristof.beyls, tschuett, mgorny.
Herald added a reviewer: rengolin.
Herald added a project: clang.
sdesmalen added a parent revision: D75298: [Clang][SVE] Parse builtin type string for scalable vectors.
sdesmalen marked an inline comment as done.
sdesmalen added inline comments.


================
Comment at: clang/include/clang/Basic/AArch64SVETypeFlags.h:1
+//===- SveEmitter.cpp - Generate arm_sve.h for use with clang -*- C++ -*-===//
+//
----------------
I just see that this comment will need updating, as that line seems copied from SveEmitter.cpp.


This is a first patch in a series for the SveEmitter to generate the arm_sve.h
header file and builtins.

I've tried my best to strip down this patch as best as I could, but there
are still a few changes that are not necessarily exercised by the load intrinsics
in this patch, mostly around the SVEType class which has some common logic to
represent types from a type and prototype string. I thought it didn't make
much sense to remove that from this patch and split it up.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75470

Files:
  clang/include/clang/Basic/AArch64SVETypeFlags.h
  clang/include/clang/Basic/BuiltinsAArch64.def
  clang/include/clang/Basic/BuiltinsSVE.def
  clang/include/clang/Basic/CMakeLists.txt
  clang/include/clang/Basic/TargetBuiltins.h
  clang/include/clang/Basic/arm_sve.td
  clang/lib/Basic/Targets/AArch64.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/utils/TableGen/SveEmitter.cpp
  clang/utils/TableGen/TableGen.cpp
  clang/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75470.247673.patch
Type: text/x-patch
Size: 39608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200302/8b70eb47/attachment-0001.bin>


More information about the cfe-commits mailing list