diff options
author | Pavel Kosov <kpdev42@gmail.com> | 2023-03-27 14:43:08 +0300 |
---|---|---|
committer | Pavel Kosov <kpdev42@gmail.com> | 2023-03-27 14:43:08 +0300 |
commit | 2d68a42f084a460007b368eab191cf0ff1b976d7 (patch) | |
tree | dafc8642679e589a84d53babd646286a527a3e31 /clang/lib/Lex/ModuleMap.cpp | |
parent | 4559e8e8cd99a92ef4c02db00c0b9dc1dba86f28 (diff) | |
download | llvm-2d68a42f084a460007b368eab191cf0ff1b976d7.zip llvm-2d68a42f084a460007b368eab191cf0ff1b976d7.tar.gz llvm-2d68a42f084a460007b368eab191cf0ff1b976d7.tar.bz2 |
[llvm-exegesis] Improve test flexibility by using available_features
Currently, all llvm-exegesis regression tests are target-specific and
they are organized so that the entire subdirectories of
llvm/test/tools/llvm-exegesis are enabled or disabled as a whole.
After the commit e0ad2af691 ("Skip codegen" dry-run mode), at least two
kinds of tests are possible:
1) ensure that a snippet can be *generated* for the particular opcode
2) tests involving actual snippet execution inside the llvm-exegesis
process
Thus, for the particular target subdirectory, some tests should run only
on the particular host architecture and other tests only need the target
being among LLVM_TARGETS_TO_BUILD.
This commit defines a bunch of exegesis-specific features that can be
referenced in REQUIRES, UNSUPPORTED, etc. on a test-by-test basis.
~~
Huawei RRI
Reviewed By: courbet
Differential Revision: https://reviews.llvm.org/D146302
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions