- Sep 03, 2022
-
-
Mark de Wever authored
The code was for backwards compatibility with code no longer present in format.
-
Mark de Wever authored
GCC-11 isn't supported in libc++ so remove UNSUPPORTED directives.
-
Simon Pilgrim authored
Matches numbers from AMD SoG + Agner - should always be on FPU Pipes 0+1, no additional uops for folded instructions and znver1 double pumps 256-bit vectors and is always latency = 4cy for f64 multiplies Noticed while adding fmul CostKinds support to the x86 cost models in rG0735200e and znver1 wasn't being flagged as requiring 2uop for 256-bit vectors
-
Simon Pilgrim authored
This was achieved with an updated version of the 'cost-tables vs llvm-mca' script D103695 As we're using 'typical' worst case values, not all cost entries come from a single CPU - e.g. the latency/throughput from haswell but the size-latency(uops) from zen1/alderlake-e due to 'double pumping'
-
Simon Pilgrim authored
We only need the double costs for SSE1 fallback
-
Junduo Dong authored
This reverts commit 38941da0.
-
Junduo Dong authored
This reverts commit 39221ad5.
-
Alexey Lapshin authored
Current implementation of registerModuleReference() function not only "registers" module reference, but also clones referenced module (inside loadClangModule()). That may lead to cloning the module with incorrect options (registerModuleReference() examines module references and additionally accumulates MaxDwarfVersion and accel tables info). Since accumulated options may differ from the current values, it is incorrect to clone modules before options are fully accumulated. This patch separates "cloning" code from "registering" code. So, that accumulating option is done in the "registering stage" and "cloning" is done after all modules are registered and options accumulated. It also adds a callback for loaded compile units which can be used for D132755 and D132371(to allow doing options accumulation outside of DWARFLinker). Differential Revision: https://reviews.llvm.org/D133047
-
Mark de Wever authored
It seems there was another file with the same issue, which didn't show up initially.
-
Mark de Wever authored
As discussed in D132284 they will be moved to the end. Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D133212
-
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
-