- Jan 27, 2022
-
-
Benjamin Kramer authored
-
Maksim Panchenko authored
Reviewed By: Amir, yota9 Differential Revision: https://reviews.llvm.org/D118284
-
Shubham Sandeep Rastogi authored
Add support for Swift reflection metadata to dsymutil. This patch adds support for copying Swift reflection metadata (__swift5_.* sections) from .o files to into the symbol-rich binary in the output .dSYM. The functionality is automatically enabled only if a .o file has reflection metadata sections and the binary doesn't. When copying dsymutil moves the section from the __TEXT segment to the __DWARF segment. rdar://76973336 Differential Revision: https://reviews.llvm.org/D115007
-
Aart Bik authored
Rationale: Demonstrates the maximum tile size allowed for the f32 <= bf16 x bf16 op Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D118277
-
Petr Hosek authored
When using the in-tree libc++, we should be using the full path to ensure that we're using the right library and not accidentally pick up the system library. Differential Revision: https://reviews.llvm.org/D118200
-
Craig Topper authored
-
Jordan Rupprecht authored
This would have enabled me to notice the MLIR test file needed updating too, preventing the test file of 2074eef5 from being necessary. layering_check is already enabled in mlir/BUILD.bazel. I don't know why I didn't see the other breakage there. Differential Revision: https://reviews.llvm.org/D118125
-
Craig Topper authored
Pass StringRef by value instead of const reference. Replace if () llvm_unreachable with an assert. Replace size() == 0 with empty()
-
Fangrui Song authored
It's obsoleted and unlikely used. See D117744.
-
Fangrui Song authored
GCC added -gz=zlib-gnu in 2014 for -gz meaning change (.zdebug => SHF_COMPRESSED) and the legacy zlib-gnu hasn't gain adoption. According to Debian Code Search (`gz=zlib-gnu`), no project uses -gz=zlib-gnu (valgrind has a configure to use -gz=zlib). Any possible -gz=zlib-gnu user can switch to -gz smoothly (supported by integrated assemblers for many years; binutils 2.26). Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D117744
-
Vladislav Khmelevsky authored
This patch adds unit testing support for BOLT. In order to do this we will need at least do this changes on the code level: * Make createMCPlusBuilder accessible externally * Remove positional InputFilename argument to bolt utlity sources And prepare the cmake and lit for the new tests. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Reviewed By: maksfb, Amir Differential Revision: https://reviews.llvm.org/D118271
-
Petr Hosek authored
We have been relying on the logic for C++ ABI library for sanitizer tests but that's incorrect since most tests require a full C++ library and not just C++ ABI. This change tries to address this by using the dependency on libc++ if available. Differential Revision: https://reviews.llvm.org/D118163
-
Adrian Prantl authored
A shift-left > 63 triggers a UBSAN failure. This patch kicks the can down the road (to the consumer) by emitting a more compact representation of the shift computation in DWARF expressions. Relanding (I accidentally pushed an earlier version of the patch previously). Differential Revision: https://reviews.llvm.org/D118183
-
Jeremy Furtek authored
This diff modifies the tablegen specification and code generation for BitEnumAttr attributes in MLIR Operation Definition Specification (ODS) files. Specifically: - there is a new tablegen class for "none" values (i.e. no bits set) - single-bit enum cases are specified via bit index (i.e. [0, 31]) instead of the resulting enum integer value - there is a new tablegen class to represent a "grouped" bitwise OR of other enum values This diff is intended as an initial step towards improving "fastmath" optimization support in MLIR, to allow more precise control of whether certain floating point optimizations are applied in MLIR passes. "Fast" math options for floating point MLIR operations would (following subsequent RFC and discussion) be specified by using the improved enum bit support in this diff. For example, a "fast" enum value would act as an alias for a group of other cases (e.g. finite-math-only, no-signed-zeros, etc.), in a way that is similar to support in C/C++ compilers (clang, gcc). Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D117029
-
Aaron Ballman authored
This updates the Bug Life Cycle docs now that we've switched to GitHub issues. The intent is to retain the same general process we used to use for triaging bugs under Bugzilla, but with the facilities we have available in GitHub.
-
LLVM GN Syncbot authored
-
Adrian Prantl authored
This reverts commit 216002c4 while investigating bot breakage.
-
Matt Arsenault authored
-
Matt Arsenault authored
The physical register in the asm has the wrong type for the declared IR. It seems to work in the DAG by extracting the 4 elements that are defined in the IR from the register, but that isn't handled here. This doesn't seem to be a well tested path since other mismatched cases are crashing the DAG asm handling.
-
Casey Carter authored
... but fail with `msvc && stdlib=libc++`. Differential Review: https://reviews.llvm.org/D118194
-
Martin Storsjö authored
The Windows and Glibc abbreviated form of Saturday in French locale is "sam." with a trailing period included. Account for this in the test reference. Differential Revision: https://reviews.llvm.org/D118240
-
Matt Arsenault authored
Most importantly, fixes constant bus errors in the 64-bit cases. It's surprising to me these were even passing the selection test using SReg_* sources. Also fixes pattern matching in the 32-bit cases, with simple operands. These patterns aren't working in a few cases, like with mixed SGPR inputs. The patterns aren't looking through the SGPR->VGPR copies like they need to. The vector cases also have some unmerges of build_vector which are obscuring the inputs.
-
Matt Arsenault authored
Try to stress constant bus restriction enforcement since some of these are broken for GlobalISel. Split the r600 test because some of these cases don't compile (and all the ones using return values are discarded).
-
Matt Arsenault authored
-
River Riddle authored
This is part of splitting up the standard dialect. The move makes sense anyways, given that the memref dialect already holds memref.atomic_rmw which is the non-region sibling operation of std.generic_atomic_rmw (the relationship is even more clear given they have nearly the same description % how they represent the inner computation). Differential Revision: https://reviews.llvm.org/D118209
-
River Riddle authored
This is part of splitting up the standard dialect. Differential Revision: https://reviews.llvm.org/D118182
-
River Riddle authored
The GPU dialect currently contains an explicit reference to LLVMFuncOp during verification to handle the situation where the kernel has already been converted. This commit changes that reference to instead use FunctionOpInterface, which has two main benefits: * It allows for removing an otherwise unnecessary dependency on the LLVM dialect * It removes hardcoded assumptions about the lowering path and use of the GPU dialect Differential Revision: https://reviews.llvm.org/D118172
-
Arthur Eubanks authored
/home/buildbot/llvm-avr-linux/llvm-avr-linux/llvm/clang/lib/CodeGen/Address.h:76:7: warning: 'clang::CodeGen::Address' has a field 'clang::CodeGen::Address::A' whose type uses the anonymous namespace [-Wsubobject-linkage] https://lab.llvm.org/buildbot/#/builders/112/builds/12047
-
Med Ismail Bennani authored
This patch introduces a new SBAPI method: `SBModule::IsFileBacked` As the name suggests, it tells the user if the module's object file is on disk or in memory. rdar://68538278 Differential Revision: https://reviews.llvm.org/D118261 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Ellis Hoag authored
Improve the error messages when using `llvm-profdata` to correlate profiles with debug info. Reviewed By: kyulee, phosek Differential Revision: https://reviews.llvm.org/D118166
-
Zixu Wang authored
This is the initial commit for the clang-extract-api RFC <https://lists.llvm.org/pipermail/cfe-dev/2021-September/068768.html> Add a new driver option `-extract-api` and associate it with a dummy (for now) frontend action to set up the initial structure for incremental works. Differential Revision: https://reviews.llvm.org/D117809
-
Jon Chesterfield authored
The old runtime is not tested by CI. Disable the build prior to the llvm-14 branch. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D118268
-
Craig Topper authored
For Zba/Zbb/Zbc/Zbs I've removed the 'B' completely and used the extension names as presented at the start of Chapter 1 of the 1.0.0 Bitmanipulation spec. For the unratified extensions, I've replaced 'B' with 'Zb' and otherwise left them unchanged. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D117822
-
jonmeow authored
The underlying issue here is that line 125 checks if linkopts was assigned (by line 120) but it's not initialized, so that becomes a crash. This was noticed by someone trying to use Docker, so no terminfo library installed. Reviewed By: GMNGeoffrey Differential Revision: https://reviews.llvm.org/D118270
-
Adrian Prantl authored
A shift-left > 63 triggers a UBSAN failure. This patch kicks the can down the road (to the consumer) by emitting a more compact representation of the shift computation in DWARF expressions. Differential Revision: https://reviews.llvm.org/D118183
-
Matt Arsenault authored
We were emitting these in the object file but not printing them.
-
Arthur Eubanks authored
This mitigates the extra memory caused by D115725. On 32-bit arches where we only have 2 bits per PointerIntPair we fall back to simply storing alignment separately. Reviewed By: rnk, nikic Differential Revision: https://reviews.llvm.org/D117262
-
Arthur Eubanks authored
Reviewed By: hans Differential Revision: https://reviews.llvm.org/D118206
-
Arthur Eubanks authored
D117916 broke some people because some distros are still using a glibc older than 2.33. Add gn arg llvm_have_mallinfo2 and default to false for now. Differential Revision: https://reviews.llvm.org/D118269
-
Fangrui Song authored
And avoiding changing `size` in `writeTo`.
-