Revision tags: llvmorg-18.1.8, llvmorg-18.1.7 |
|
#
42ebf3ea |
| 05-Jun-2024 |
klensy <klensy@users.noreply.github.com> |
[utils][filecheck-lint]: speedup filecheck_lint (#94191)
For example:
clang\test\OpenMP\task_codegen.cpp: 0m29.570s -> 0m0.159s
clang\test\Driver: 4m55.917s -> 1m48.053s
Most win from big file
[utils][filecheck-lint]: speedup filecheck_lint (#94191)
For example:
clang\test\OpenMP\task_codegen.cpp: 0m29.570s -> 0m0.159s
clang\test\Driver: 4m55.917s -> 1m48.053s
Most win from big files.
---------
Co-authored-by: klensy <nightouser@gmail.com>
show more ...
|
Revision tags: llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4 |
|
#
b71edfaa |
| 15-May-2023 |
Tobias Hieta <tobias@hieta.se> |
[NFC][Py Reformat] Reformat python files in llvm
This is the first commit in a series that will reformat all the python files in the LLVM repository.
Reformatting is done with `black`.
See more in
[NFC][Py Reformat] Reformat python files in llvm
This is the first commit in a series that will reformat all the python files in the LLVM repository.
Reformatting is done with `black`.
See more information here:
https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Reviewed By: jhenderson, JDevlieghere, MatzeB
Differential Revision: https://reviews.llvm.org/D150545
show more ...
|
Revision tags: llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init |
|
#
f702c759 |
| 12-Jan-2023 |
Benjamin Chetioui <bchetioui@google.com> |
[utils][filecheck-lint] Add filecheck-lint, a linter for FileCheck directives.
FileCheck is a versatile tool for testing compiler output regardless of syntax. FileCheck achieves this versatility by
[utils][filecheck-lint] Add filecheck-lint, a linter for FileCheck directives.
FileCheck is a versatile tool for testing compiler output regardless of syntax. FileCheck achieves this versatility by processing only input lines in which it detects a valid CHECK directive, and ignoring everything else.
This comes at a price: if a directive is not typed properly, it is not processed by FileCheck, and the test code it precedes is effectively disabled. This results in the illusion that the code is tested, while the test may have actually never run.
This scenario is not hypothetical, see the fixes introduced in, e.g. https://github.com/tensorflow/tensorflow/commit/48cacf049f3d6ed3f289ccc48ec50491b6d8d9a8, https://reviews.llvm.org/D139698, https://reviews.llvm.org/D139636, https://github.com/iree-org/iree/pull/11693.
The findings corrected in the above changes originate in filecheck-lint. In a given test file, filecheck-lint uses the edit distance between anything that looks like a FileCheck directive and the set of locally valid directives to detect likely misspelled directives.
The tool is not yet feature complete---e.g. it does not parse custom comment prefixes to exclude them from reporting---but it already yields useful results, as demonstrated above.
Differential Revision: https://reviews.llvm.org/D141508
show more ...
|