- May 24, 2022
-
-
Mitch Phillips authored
Currently, llvm-symbolizer doesn't like to parse .debug_info in order to show the line info for global variables. addr2line does this. In the future, I'm looking to migrate AddressSanitizer off of internal metadata over to using debuginfo, and this is predicated on being able to get the line info for global variables. This patch adds the requisite support for getting the line info from the .debug_info section for symbolizing global variables. This only happens when you ask for a global variable to be symbolized as data. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D123538
-
Sotiris Apostolakis authored
This patch implements the actual transformation of selects to branches. It includes only the base transformation without any sinking. Depends on D120230 Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D122259
-
Qunyan Mangus authored
RAGreedy has two fields of RegisterClassInfo, one called RCI and another RegClassInfo from its base class. RCI is initialized without freezeReservedRegs first, while RegClassInfo does. Therefore, if reserved registers information is changed between last time freezeReservedRegs is called and RAGreedy, it's not picked up by RCI. Instead of having both fields in RAGreedy, remove RCI and use RegClassInfo instead. Also removed is the TRI field which is present in its base class. Reviewed By: MatzeB Differential Revision: https://reviews.llvm.org/D125926
-
Paul Robinson authored
The new test is a copy of the corresponding PS4 test, with the triple etc updated, because there's currently no good way to make one lit test "iterate" with multiple targets.
-
Stella Stamenova authored
The tests actually require the target triple to match the host, rather than just having the host in the list of available targets. This change removes `llvm_has_native_target` and instead uses the `native` feature from the lit configuration. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D126011
-
Florian Hahn authored
The new tests contain examples where shuffles are free, because indexed fma instructions can be used.
-
Paul Walker authored
-
Alexey Bataev authored
Builds UserIgnore list only once as a SmallDenseSet without rebuilding it between the runs, iterate over gathers instead list of reduction ops, do some checks in the buildTree_rec only if the corresponding containers are not empty.
-
Julian Lettner authored
Differential Revision: https://reviews.llvm.org/D126229
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: sstefan1, libcxx-commits Differential Revision: https://reviews.llvm.org/D126167
-
Nikolas Klauser authored
We use `auto` in C++03, so we shouldn't say that we aren't. Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D126165
-
Nikolas Klauser authored
All compilers that libc++ supports support `push_macro` and `pop_macro`. So let's remove it. Reviewed By: ldionne, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D126073
-
Nikolas Klauser authored
The ranges concepts were already available in libc++13, so we shouldn't guard them with `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`. Fixes https://github.com/llvm/llvm-project/issues/54765 Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D124011
-
Nikolas Klauser authored
`<type_traits>` is quite a large header, so I'll granularize it in a few steps. Reviewed By: ldionne, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D124755
-
Jorge Gorbe Moya authored
As far as I can tell, the only thing those friend classes access is the `ValueSP` typedef. Given that this is a map-ish class, with "Map" in its name, it doesn't seem like a stretch to make `KeyType`, `ValueType` and `ValueSP` public. More so when the public methods of the class have `KeyType` and `ValueSP` arguments and clearly `ValueSP` needs to be accessed from the outside. `friend` complicates local reasoning about who can access private members, which is valuable in a class like this that has every method locking a mutex to prevent concurrent access. Differential Revision: https://reviews.llvm.org/D126103
-
natashaknk authored
TOSAs depthwise_conv2d operation includes a reshape to include the implicit x1 dimension. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D126212
-
Julian Lettner authored
-
Sanjay Patel authored
This was included in D126190 originally, but it's independent and a useful change for readability.
-
Craig Topper authored
If the VT is i2, then 2 is really -2. Test has not been commited yet, but diff shows the change. Fixes PR55644. Differential Revision: https://reviews.llvm.org/D126213
-
Craig Topper authored
-
Dave Lee authored
Register positional argument details in `CommandObjectTargetModulesList`. I recently learned that `image list` takes a module name, but the help info does not indicate this. With this change, `help image list` will show that it accepts zero or more module names. This makes it easier to get info about specific modules, without having to find/grep through the full image list. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D125154
-
Stephen Long authored
https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170 unsigned char __readx18byte(unsigned long) unsigned short __readx18word(unsigned long) unsigned long __readx18dword(unsigned long) unsigned __int64 __readx18qword(unsigned long) Given the lack of documentation of the intrinsics, we chose to align the offset with just `CharUnits::One()` when calling `IRBuilderBase::CreateAlignedLoad()` Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D126024
-
Dave Lee authored
Ensure there's a space between "utility" and "function", and also makes it easier to grep/search for "utility function". While making this change, I also re-formatted the other dlopen error messages (with clang-format). This fix other instances of spaces missing between words, and makes each of these strings fit a single line, making them greppable. Differential Revision: https://reviews.llvm.org/D126078
-
Benjamin Kramer authored
-
Paul Robinson authored
-
Philip Reames authored
Simplified version of a test taken from D123581.
-
Jeffrey Tan authored
This fixes an issue that optimized variable error message is not shown to end users in lldb-vscode. Differential Revision: https://reviews.llvm.org/D126014
-
Jeffrey Tan authored
To help user identify optimized code This diff adds a "[opt]" suffix to optimized stack frames in lldb-vscode. This provides consistent experience as command line lldb. It also adds a new "optimized" attribute to DAP stack frame object so that it is easy to identify from telemetry than parsing trailing "[opt]". Differential Revision: https://reviews.llvm.org/D126013
-
Fangrui Song authored
Latest GNU nm (milestone: 2.39) has added -W/--no-weak and changed -U to mean --defined-only (instead of --unicode=). The changes match our semantics. Close #55297 Reviewed by: jhenderson, keith Differential Revision: https://reviews.llvm.org/D126133
-
Christopher Bate authored
AsyncCopyOp lowering converted "size in elements" to "size in bytes" assuming the element type size is at least one byte. This removes that restriction, allowing for types such as i4 and b1 to be handled correctly. Differential Revision: https://reviews.llvm.org/D125838
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D125637
-
Christopher Bate authored
This changes adds missing support for the i4 data type. Tests are added to ensure proper lowering of an nvgpu.mma.sync operation targeting the 16x8x64xi4 and 16x8x32xi4 MMA variants in the NVVM dialect. Differential Revision: https://reviews.llvm.org/D126092
-
Matthias Springer authored
Also fixes integration of the pass into One-Shot Bufferize and adds additional test cases. BufferResultsToOutParams can be used with "identity-layout-map" and "fully-dynamic-layout-map". "infer-layout-map" is not supported. Differential Revision: https://reviews.llvm.org/D125636
-
Jonas Devlieghere authored
Currently simulator tests get skipped when the reported platform is macosx rather than darwin. Update the decorator to match both.
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D126179
-
Nathan Sidwell authored
C++20 modules require emission of an initializer function, which is called by importers of the module. This implements the mangling for that function. It is the one place the ABI exposes partition names in symbols -- but fortunately only needed by other TUs of that same module. Reviewed By: bruno Differential Revision: https://reviews.llvm.org/D122741
-
- May 23, 2022
-
-
Stella Laurenzo authored
Differential Revision: https://reviews.llvm.org/D126182
-
Richard authored
When looking for whether or not a check provides fixits, the script examines the implementation of the check. Some checks are not implemented in source files that correspond one-to-one with the check name, e.g. cert-dcl21-cpp. So if we can't find the check implementation directly from the check name, open up the corresponding module file and look for the class name that is registered with the check. Then consult the file corresponding to the class name. Some checks are derived from a base class that implements fixits. So if we can't find fixits in the implementation file for a check, scrape out the name of it's base class. If it's not ClangTidyCheck, then consult the base class implementation to look for fixit support. Differential Revision: https://reviews.llvm.org/D126134 Fixes #55630
-