[PATCH] D138975: [perf-training] Support additional test suffixes
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 29 19:13:21 PST 2022
phosek created this revision.
phosek added a reviewer: smeenai.
Herald added a project: All.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
.cc and .test are commonly used and supported by other lit test suites.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138975
Files:
clang/utils/perf-training/lit.cfg
clang/utils/perf-training/order-files.lit.cfg
Index: clang/utils/perf-training/order-files.lit.cfg
===================================================================
--- clang/utils/perf-training/order-files.lit.cfg
+++ clang/utils/perf-training/order-files.lit.cfg
@@ -26,7 +26,7 @@
config.clang = os.path.realpath(lit.util.which('clang', config.clang_tools_dir)).replace('\\', '/')
config.name = 'Clang Perf Training'
-config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap']
+config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap', '.test']
dtrace_wrapper = '%s %s/perf-helper.py dtrace' % (config.python_exe, config.perf_helper_dir)
dtrace_wrapper_cc1 = '%s %s/perf-helper.py dtrace --cc1' % (config.python_exe, config.perf_helper_dir)
Index: clang/utils/perf-training/lit.cfg
===================================================================
--- clang/utils/perf-training/lit.cfg
+++ clang/utils/perf-training/lit.cfg
@@ -25,7 +25,7 @@
config.clang = lit.util.which('clang', config.clang_tools_dir).replace('\\', '/')
config.name = 'Clang Perf Training'
-config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap']
+config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap', '.test']
cc1_wrapper = '%s %s/perf-helper.py cc1' % (config.python_exe, config.perf_helper_dir)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138975.478786.patch
Type: text/x-patch
Size: 1404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221130/e27008bc/attachment.bin>
More information about the cfe-commits
mailing list