[PATCH] D64606: [BPF] add unit tests for preserve_{array,union,struct}_access_index intrinsics
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 16:56:45 PDT 2019
yonghong-song created this revision.
yonghong-song added reviewers: eli.friedman, jdoerfert, ast.
Herald added a subscriber: arphaman.
Herald added a project: LLVM.
This is a followup patch for https://reviews.llvm.org/D61810/new/,
which adds new intrinsics preserve_{array,union,struct}_access_index.
Currently, only BPF backend utilizes preserve_{array,union,struct}_access_index
intrinsics, so all tests are compiled with BPF target.
https://reviews.llvm.org/D61524 already added some tests for these
intrinsics, but some of them pretty complex.
This patch added a few unit test cases focusing on individual intrinsic
functions.
Also made a few clarification on language reference for these intrinsics.
Repository:
rL LLVM
https://reviews.llvm.org/D64606
Files:
docs/LangRef.rst
test/CodeGen/BPF/CORE/intrinsic-array.ll
test/CodeGen/BPF/CORE/intrinsic-struct.ll
test/CodeGen/BPF/CORE/intrinsic-union.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64606.209374.patch
Type: text/x-patch
Size: 15653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190711/c6585d2e/attachment.bin>
More information about the llvm-commits
mailing list