[PATCH] D24548: Add AArch64 unit tests
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 14 02:06:07 PDT 2016
rovka created this revision.
rovka added a reviewer: ab.
rovka added subscribers: llvm-commits, rengolin.
Herald added subscribers: mgorny, beanz, aemerson.
Add unit tests for checking a few tricky instruction sizes. Also remove the old
tests for the instruction sizes, which were clunky and brittle.
Since this is the first set of target-specific unit tests, we need to add some
CMake plumbing. In the future, adding unit tests for a given target will be as
simple as creating a directory with the same name as the target under
unittests/Target. The tests are only run if the target is enabled in
LLVM_TARGETS_TO_BUILD.
https://reviews.llvm.org/D24548
Files:
test/CodeGen/MIR/AArch64/inst-size-patchpoint.mir
test/CodeGen/MIR/AArch64/inst-size-stackmap.mir
test/CodeGen/MIR/AArch64/inst-size-tlsdesc-callseq.mir
unittests/CMakeLists.txt
unittests/Target/AArch64/CMakeLists.txt
unittests/Target/AArch64/InstSizes.cpp
unittests/Target/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24548.71307.patch
Type: text/x-patch
Size: 15331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/ce29d53f/attachment.bin>
More information about the llvm-commits
mailing list