- Sep 03, 2022
-
-
Mark de Wever authored
-
Benjamin Kramer authored
-
Christian Sigg authored
This resubmits commit 0816b629, reverted in commit 328bbab5, but without removing the config.target_triple. Lit checks UNSUPPORTED tags in the input against the config.target_triple (https://llvm.org/docs/TestingGuide.html#constraining-test-execution). The original commit made the following bots start failing, because unsupported tests were no longer skipped: - s390x: https://lab.llvm.org/buildbot/#/builders/199/builds/9247 - Windows: https://lab.llvm.org/buildbot/#/builders/13/builds/25321 - Sanitizer: https://lab.llvm.org/buildbot/#/builders/5/builds/27187
-
owenca authored
When the opening brace of a control statement block is wrapped, we must check the previous line to determine whether to try to merge the block. Fixes #38639. Fixes #48007. Fixes #57421. Differential Revision: https://reviews.llvm.org/D133093
-
Lang Hames authored
We want to move functionality from the LLVM ORCTargetProcess library into the ORC runtime, and this will mean implementing remote-executor testing tools (like llvm-jitlink-executor and lli-child-target) in the ORC runtime. This patch refactors the ORC runtime build system to introduce an add_orc_tool function that can be used to add new test tools. The code is modeled on existing functions for adding unit tests. A placeholder orc-rt-executor tool and test are added to verify that the config changes behave as expected. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D133084
-
Junduo Dong authored
One of the test cases in that test is designed to test the compiling jobs with a linking stage, but the PS4/PS5/Hexagon platform requires an external linker that isn't present. So this test do not support the "PS4/PS5/Hexagon".
-
LLVM GN Syncbot authored
-
Vitaly Buka authored
Breaks buildbots. This reverts commit 30adaa73.
-
LLVM GN Syncbot authored
-
Igor Zhukov authored
Co-authored-by:
A. Jiang <de34@live.cn> Reviewed By: philnik, huixie90, #libc Differential Revision: https://reviews.llvm.org/D132327
-
Richard Smith authored
-fmodules-local-submodule-visibility and -fdelayed-template-parsing don't work properly together because the template is parsed in the visibility context of the wrong module.
-
Shafik Yaghmour authored
[Clang] Fix lambda CheckForDefaultedFunction(...) so that it checks the CXXMethodDecl is not deleted before attempting to call DefineDefaultedFunction(...) I discovered this additional bug at the end of working on D132906 In Sema::CheckCompletedCXXClass(...) uses a lambda CheckForDefaultedFunction to verify each CXXMethodDecl holds to the expected invariants before passing them on to CheckForDefaultedFunction. It is currently missing a check that it is not deleted, this adds that check and a test that crashed without this check. This fixes: https://github.com/llvm/llvm-project/issues/57516 Differential Revision: https://reviews.llvm.org/D133177
-
Junduo Dong authored
1. This implementation change the default storing behavior of -ftime-trace only. That is, if the compiling job contains the linking action, the executable file' s directory may be seem as the main work directory. Thus the time trace files would be stored in the same directory of linking result. By this approach, the user can easily get the time-trace files in the main work directory. The improved demo results: ``` $ clang++ -ftime-trace -o main.out /demo/main.cpp $ ls . main.out main-[random-string].json ``` 2. In addition, the main codes of time-trace files' path inference have been refactored. * The <path> of -ftime-trace=<path> is infered in clang driver * After that, -ftime-trace=<path> can be added into clang's options By this approach, the dirty work of path processing and judging can be implemented in driver layer, so that the clang may focus on its main work. # $ clang -ftime-trace -o xxx.out xxx.cpp Differential Revision: https://reviews.llvm.org/D131469
-
Mehdi Amini authored
This reverts commit 7691b69d. Bots are broken because we're missing CMake dependencies all around now.
-
Richard Smith authored
-
River Riddle authored
This commit adds support for interacting with a (valid) bytecode file in the same way as .mlir. This allows editing, using all of the traditional LSP features, etc. but still using bytecode as the on-disk serialization format. Loading a bytecode file this way will fail if the bytecode is invalid, and saving will fail if the edited .mlir is invalid. Differential Revision: https://reviews.llvm.org/D132970
-
Adrian Prantl authored
-
Sheng authored
-
Andrew Browne authored
Observed a test failure where "Returned length: 3054". Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D133227
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D133231
-
Mehdi Amini authored
This reverts commit 57119578. A circular dependency is introduced here from Dialect/Utils/ to the ViewLikeInterface, but it already depends on Dialect/Utils. Also this introduces a dependency from lib/Dialect/Tensor to Linalg, which isn't obviously correct from a layering point of view.
-
Volodymyr Sapsai authored
[ODRHash diagnostics] Transform method `ASTReader::diagnoseOdrViolations` into a class `ODRDiagsEmitter`. NFC. Preparing to use diagnostics about ODR hash mismatches outside of ASTReader. Differential Revision: https://reviews.llvm.org/D128490
-
Richard Smith authored
This reverts commit fec01ee3. According to asan, this patch introduces a heap use after free.
-
Francis Visoiu Mistrih authored
We should be able to use this option even if LLVM_ENABLE_DUMP is not on. (should fix the bots too)
-
Richard Smith authored
-
Jorge Gorbe Moya authored
TypeCategoryImpl has its own implementation of these, so it makes no sense to have the same logic inlined in SBTypeCategory. There are other methods in SBTypeCategory that are directly implemented there, instead of delegating to TypeCategoryImpl (which IMO kinda defeats the point of having an "opaque" member pointer in the SB type), but they don't have equivalent implementations in TypeCategoryImpl, so this patch only picks the low-hanging fruit for now.
-
Francis Visoiu Mistrih authored
If one of the operands is a transposed splat, the transpose can be removed. This is useful to simplify when transposes are distributed to operands of a matmul: * k^T -> k * (A * k)^t -> A^t * k Differential Revision: https://reviews.llvm.org/D130177
-
Alexander Shaposhnikov authored
Skip copy assignment operators with nonstandard return types since they cannot be defaulted. Test plan: ninja check-clang-tools Differential revision: https://reviews.llvm.org/D133006
-
isuckatcs authored
This patch dumps every state trait in the egraph. Also the empty state traits are no longer dumped, instead they are treated as null by the egraph rewriter script, which solves reverse compatibility issues. Differential Revision: https://reviews.llvm.org/D131187
-
Alexander Shaposhnikov authored
Restrict use-equals-default to c++11-or-later. Test plan: ninja check-all Differential revision: https://reviews.llvm.org/D132998
-
Eli Friedman authored
If we don't have NEON, we use the generic fallback, which takes 12 instructions. Make sure the costs reflect that. (On a related note, we could optimize the generic fallback a bit. It currently uses sequences like lsr+and+add; if we use and+lsr+add instead, we can fold the lsr into the add.) Differential Revision: https://reviews.llvm.org/D133154
-
jackh authored
Fixes https://github.com/llvm/llvm-project/issues/57418 The token `*` below should be annotated as `UnaryOperator`. ``` delete[] *ptr; ``` Reviewed By: owenpan, MyDeveloperDay Differential Revision: https://reviews.llvm.org/D132911
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133183
-
Mitch Phillips authored
This reverts commit 0816b629. Reason: Broke the sanitizer buildbots. More information available in the original phabricator review: https://reviews.llvm.org/D132726
-
Manish Gupta authored
`cp_async_zfill` is currently not present in the nvvm backend, this patch adds `cp_async_zfill` support by adding inline asm when lowering from `nvgpu` to `nvvm`. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D132269
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133168
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133167
-
Alex Brachet authored
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133054
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133041
-