- Oct 26, 2023
-
-
Pete Lawrence authored
[lldb] Part 1 of 2 - Refactor `CommandObject::Execute(...)` to return `void` instead of ~~`bool`~~ Justifications: - The code doesn't ultimately apply the `true`/`false` return values. - The methods already pass around a `CommandReturnObject`, typically with a `result` parameter. - Each command return object already contains: - A more precise status - The error code(s) that apply to that status Part 2 refactors the `CommandObject::DoExecute(...)` method. - See [https://github.com/llvm/llvm-project/pull/69991](https://github.com/llvm/llvm-project/pull/69991) rdar://117378957
-
Craig Topper authored
-
Fazlay Rabbi authored
The syntax of the linear clause that specifies its argument and linear-modifier as linear-modifier(list) was deprecated since OpenMP 5.2 and the step modifier was added for specifying the linear step. Reference: OpenMP 5.2 Spec, Page 627, Line 15
-
Eric authored
There is currently a major problem with the CI output: The information you need to see never appears in the visible log. This is because our logs are very verbose, and list (A) every test as they run it, and (B) every unsupported tests. This can be thousands of lines. (A) was introduced by me when I disabled the PTY progress bar, which doesn't play nice with log files. That change was an improvement, but I have now disabled the PTY on the builders, so we can go back to passing `-s`. When `-s` is passed but no PTY is available, it prints a long friendly progress indicator. (B) is solved here by disabling the printing of unsupported tests at the end of the test suite. While it can be useful on occasion to audit the list of unsupported tests, it's far from a common operation. Instead people want to see the log of their failure. We should upload the xml results, so if auditing is needed, it can be done using that. Hopefully this change will make it so that the test failures appear in the actual log output
-
Walter Erquinigo authored
This effectively moves a few functions from protected to public. In any case, for the sake of having a cleaner SymbolFileDWARF API, it's better if it's not a friend of a one of its consumers, DWARFASTParserClang. Another effect of this change is that I can use SymbolFileDWARF for the out-of-tree mojo dwarf parser, which relies on pretty much the same functions that DWARFASTParserClang needs from SymbolFileDWARF.
-
Jan Svoboda authored
Previously, Clang wouldn't try to resolve the module for the header being checked via `__has_include`. This meant that such header was considered textual (a.k.a. part of the module Clang is currently compiling). rdar://116926060
-
Arthur Eubanks authored
-
Youngsuk Kim authored
Remove ptr-to-ptr bitcasts, which are unnecessary with opaque pointers enabled. Opaque pointer clean-up effort. NFC.
-
Aart Bik authored
This test used to be here, but somehow got lost while linalg rewrote their interfaces. It is essential to test this on entry of sparsification, however, since all subsequent analysis simply assumes tensor types. Fixes: https://github.com/llvm/llvm-project/issues/64325
-
Valentin Clement authored
-
Aart Bik authored
This value should always be a plain contant or something invariant computed outside the surrounding linalg operation, since there is no co-iteration defined on anything done in this branch. Fixes: https://github.com/llvm/llvm-project/issues/69395
-
Fangrui Song authored
-
Philip Reames authored
This way the compiler can tell us about missing cases if we add a new value to this enum. Amusingly, the first time I landed this, I had indeed forgotten a switch case, and the build bots were quite happy to remind me of such.
-
Craig Topper authored
[RISCV][GISel] Add instruction selection for G_FADD/G_FSUB/G_FMUL/G_FDIV with F/D extensions. (#69808)
-
Philip Reames authored
This reverts commit 3c2203ae. The buildbots were quick to remind me that I had, in fact, missed a switch case. Oops.
-
Evgenii Kudriashov authored
-
Philip Reames authored
This way the compiler can tell us about missing cases if we add a new value to this enum.
-
Usama Hameed authored
[lldb] Refactor InstrumentationRuntimeAsan and add a new plugin InstrumentationRuntimeLibsanitizers. This commit refactors InstrumentationRuntimeASan by pulling out reusable code into a separate ReportRetriever class. The purpose of the refactoring is to allow reuse of the ReportRetriever class in another plugin. The commit also adds InstrumentationRuntimeASanLibsanitizers, a new runtime plugin for ASan. The plugin provides the same functionality as InstrumentationRuntimeASan, but provides a different set of symbols/library names to search for while activating the plugin. rdar://112491689
-
Craig Topper authored
This includes the plumbing for ValueMapping and PartialMapping.
-
Craig Topper authored
-
Craig Topper authored
This a simple patch to get initial FP support started.
-
Alexander Yermolovich authored
This is pre-cursor patch to enabling type units with DWARF5 acceleration tables. With this change it allows for entries to contain offsets directly, this way type units do not need to be preserved until .debug_names is written out.
-
Craig Topper authored
This includes support for using GPRs, FPRs, and stack.
-
Joseph Huber authored
Summary: While this is technically a no-op for AMDGPU hardware, in cases where the user would see fit to add an explicit wavefront sync on Nvidia hardware, we should also inform the LLVM optimizer that this control flow is convergent so we do not reorder blocks.
-
Joseph Huber authored
Summary: This patch simply adds the `-fconvergent-functions` flag to the GPU compilation. This is in relation to the behaviour of SIMT architectures under divergence. With the flag, we assume every function is convergent by default and rely on the compiler's divergence analysis to transform it if possible. Fixes: https://github.com/llvm/llvm-project/issues/63853
-
Petr Hosek authored
When a target sets LLVM_ENABLE_RUNTIMES, we should only generate proxy targets for those runtimes rather than using the global list which may contain runtimes that are not supported by that particular target.
-
Jessica Clarke authored
Fixes 567a660a
-
Nishant Patel authored
If gpu.alloc has no asyn deependency ( in case if gpu.alloc has hostShared allocation), create a new stream & synchronize. This PR is follow up to #66401
-
Guray Ozen authored
This PR fixes the incorrect `mov` instruction in PTX. We actually move a predicate here, not u32, so the correct instruction should be `mov.pred`.
-
Joseph Huber authored
Summary: This should be `kind` and not `arch`.
-
jeffreytan81 authored
While using dwarf5 `.debug_names` in internal large targets, we noticed a performance issue (around 10 seconds delay) while `lldb-vscode` tries to show `scopes` for a compile unit. Profiling shows the bottleneck is inside `DebugNamesDWARFIndex::GetGlobalVariables` which linearly search all index entries belongs to a compile unit. This patch improves the performance by using the compile units list to filter first before checking index entries. This significantly improves the performance (drops from 10 seconds => under 1 second) in the split dwarf situation because each compile unit has its own named index. --------- Co-authored-by:jeffreytan81 <jeffreytan@fb.com>
-
Piotr Zegar authored
[clang-tidy] Ignore deleted functions in cppcoreguidelines-rvalue-reference-param-not-moved (#69514) Ignore functions and constructors that are maked deleted or defaulted in cppcoreguidelines-rvalue-reference-param-not-moved check. Fixes #69412
-
Matthias Braun authored
e3cf80c5 affected block placement of some tests in the experimental m68k target. This updates them.
-
Alina Sbirlea authored
Change cc2fbc64 introduced -Wdangling warning, use temporaries to resolve. llvm/lib/Transforms/Utils/CodeLayout.cpp:764:27: error: temporary whose address is used as value of local variable '[minDensity, maxDensity]' will be destroyed at the end of the full-expression [-Werror,-Wdangling] 764 | std::minmax(ChainPred->density(), ChainSucc->density()); llvm/lib/Transforms/Utils/CodeLayout.cpp:764:49: error: temporary whose address is used as value of local variable '[minDensity, maxDensity]' will be destroyed at the end of the full-expression [-Werror,-Wdangling] 764 | std::minmax(ChainPred->density(), ChainSucc->density());
-
Craig Topper authored
This effectively reverts f912d21e This was originally done for consistency with RISCVISD::ADD_LO so that all nodes were emitted as RISCVISD nodes. I've received feedback a couple times that its not worth it. So I'm putting it back.
-
Craig Topper authored
MipsIncomingValueHandler::assignCustomValue should return 1 instead of 2. The return value is the number of additional ArgLocs being consumed. It's assumed that at least 1 is consumed. Correct the LocVT used for the spill when there are no registers left. It should be f64 instead of i32. This allows a workaround to be removed in the SelectionDAG path.
-
Nick Renieris authored
Maps to [`CXCursor_ConceptDecl`](https://github.com/llvm/llvm-project/blob/ee8524087c78a673fcf5486ded69ee597a85e0f1/clang/include/clang-c/Index.h#L2716), added in ee852408. Without this I get this error on my codebase which uses C++20 concept decls: ``` ValueError: Unknown template argument kind 604 ```
-
Mircea Trofin authored
-
Craig Topper authored
This fixes i8->i48 on RV64.
-
ZijunZhaoCCK authored
The APIs and the feature test macro are both exposed. This is compatible with how GCC is exposing the functionality.
-