[PATCH] D81466: [SveEmitter] Add builtins for struct loads/stores (ld2/ld3/etc)

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 06:33:12 PDT 2020


sdesmalen created this revision.
Herald added subscribers: cfe-commits, tschuett.
Herald added a project: clang.
sdesmalen added a parent revision: D81459: [SveEmitter] Add SVE tuple types and builtins for svundef..
sdesmalen added a parent revision: D81458: [AArch64][SVE] Change pointer type of struct load/store intrinsics..

The struct store intrinsics in LLVM IR take the individual parts
as arguments, so this patch uses the intrinsics used for `svget`
to break the tuples into individual parts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81466

Files:
  clang/include/clang/Basic/arm_sve.td
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81466.269516.patch
Type: text/x-patch
Size: 113293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200609/a034b8da/attachment-0001.bin>


More information about the cfe-commits mailing list