- Nov 12, 2023
-
-
Kazu Hirata authored
Identified with clangd.
-
- Nov 11, 2023
-
-
Youngsuk Kim authored
With opaque pointers, `CreatePointerBitCastOrAddrSpaceCast` can be replaced with `CreateAddrSpaceCast`. Replace or remove uses of `CreatePointerBitCastOrAddrSpaceCast`. Opaque pointer cleanup effort.
-
Florian Hahn authored
The removed code was printing `Processing facts ...` a second time.
-
Florian Hahn authored
VPReductionRecipe::execute was not handling predicates for ordered reduction with scalar VFs, which was causing a crash. Thsi patch adds dedicated handling for scalar VFs when dealing with the condition. The other operands are already handled in a similar fashion below. Fixes #70988.
-
Antonio Frighetto authored
Clang buildbot was previously failing when targeting WebAssembly. Fixes: https://lab.llvm.org/buildbot/#/builders/45/builds/14145.
-
Piotr Zegar authored
Add relase notes for change added in D101617.
-
Nathan James authored
Provide more useful warning locations and diagnostic ranges. Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D101617
-
Piotr Zegar authored
Add relase notes for change added in D125949.
-
Joachim Priesner authored
When operators are used explicitly with std::bind invalid fixes were generated, this change fixes it. Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D125949
-
Oleg Shyshkov authored
-
Antonio Frighetto authored
Emission of `mustprogress` attribute previously occurred only within `EmitFunctionBody`, after generating the function body. Other routines for function body creation may lack the attribute, potentially leading to suboptimal optimizations later in the pipeline. Attribute emission is now anticipated prior to generating the function body. Fixes: https://github.com/llvm/llvm-project/issues/69833.
-
Kazu Hirata authored
Identified with clangd.
-
Kazu Hirata authored
Identified with clangd.
-
Kazu Hirata authored
Identified with clangd.
-
Kazu Hirata authored
Identified with clangd.
-
Kazu Hirata authored
Identified with clangd.
-
Craig Topper authored
This allows us to reuse isel patterns from SelectionDAG. This is similar to what is done on AArch64.
-
Fangrui Song authored
-
Björn Pettersson authored
If the code has a call to an implicitly declared function, an expression could end up referencing declarations without valid source locations. So when doing the exprIsValidOutside check we could end up calling SourceManager::isPointWithin using invalid source locations, and then a debug build would crash with an assertion failure in SourceManager::isBeforeInTranslationUnit. This patch make sure that we deal with the invalid locations (by considering a ReferencedDecl with invalid location as not being inside the Scope).
-
Fangrui Song authored
-
Craig Topper authored
-
Craig Topper authored
-
Craig Topper authored
This improves the code for -riscv-experimental-rv64-legal-i32
-
Craig Topper authored
[RISCV] Add test case showing unnecessary zext of shift amounts with -riscv-experimental-rv64-legal-i32. NFC
-
Walter Erquinigo authored
lldb's AppleDWARFIndex is created with a few `llvm::AppleAcceleratorTable` variables, but they only hold pointers to the underlying data, which doesn't prevent the data owner (lldb's DataBufferHeap) from being disposed. Because of this, an asan build of lldb was showing an error in which a jitted accelerator table was being fred before read, which made my lldb fall in an infinite loop trying to parse corrupted accel table data. This issue only happens when I'm using a jitted execution and not when debugging a precompiled binary, probably because in the jit case the underlying data has to necessarily be copied via gdb-remote instead of mmaping a debug info file. The correct fix seems to also store the underlying storage along with the accelerator tables in AppleDWARFIndex.
-
spaceotter authored
Allows the barrier elimination code to be run from C++ as well. The code from transforms dialect is copied as-is, the pass and populate functions have beed added at the end. Co-authored-by:Eric Eaton <eric@nod-labs.com>
-
Shoaib Meenai authored
This is a hacky fix to get the bots green, because just reverting the original commit causes more failures. This should be replaced with a proper fix by the author.
-
Shoaib Meenai authored
This reverts commit 8ee07a4b. The revert is breaking AMDGPU backend tests (which I didn't have enabled), and I don't want to risk breakages over the weekend, so just revert for now.
-
Shoaib Meenai authored
This reverts commit 3bb7ecc5. The revert breaks AMDGPU backend tests (which I didn't have enabled locally), and I don't want to risk more breakages before the weekend, so just restore things as they were.
-
Shoaib Meenai authored
This reverts commit cd7ba9f3. This is causing test failures on builds without assertions: /data/users/smeenai/llvm-project/clang/test/Analysis/builtin_signbit.cpp:14:21: error: CHECK-BE32-NEXT: expected string not found in input // CHECK-BE32-NEXT: entry: ^ Bots are also failing, e.g. https://lab.llvm.org/buildbot/#/builders/67/builds/13266/steps/7/logs/stdio
-
Shoaib Meenai authored
This reverts commit 82f68a99. cd7ba9f3 needs to be reverted to fix test failures on builds without assertions, and this one needs to be reverted first for that.
-
Vidhush Singhal authored
Changes the size of allocations automatically. For now, implements the case when a single range from start of the allocation is alive and the allocation can be reduced.
-
jimingham authored
If `unique` is true, I was redoing the uniqueness check for the secondary listeners, which is racy since a "duplicate" event could come in between deciding to send the event to the main listener and checking for the shadow listener, and then the two streams would get out of sync. There's not a good way to write a direct test for this, but the test_shadow_listeners test has been flakey and this is the only racy part of that system I can find. So the test would be that that test_shadow_listeners becomes not flakey.
-
Jonas Devlieghere authored
Read the MD5 checksum from DWARF line tables and store it in the corresponding support files. This is a re-land after fixing an off-by-one error in LLDB's ParseSupportFilesFromPrologue (fixed in #71984).
-
Johannes Doerfert authored
If we have more than one reduction variable we need to be consistent wrt. indexing. In 3de645ef we broke this as the buffer type was reduced to a singleton but the index computation was not adjusted to account for that offset. This fixes it by interleaving the reduction variables properly in a array-of-struct style. We can revert it back to struct-of-array in a follow up if turns out to be a problem. I doubt it since half the accesses should benefit from the locallity this layout offers and only the other half were consecutive before.
-
Quinn Dawkins authored
Fixes asan failures in https://lab.llvm.org/buildbot/#/builders/5/builds/38191 introduced by #71964.
-
Jonas Devlieghere authored
This fixes a subtle and previously harmless off-by-one bug in ParseSupportFilesFromPrologue. The function accounts for the start index being one-based for DWARF v4 and earlier and zero-based for DWARF v5 and later. However, the same care wasn't taken for the end index. This bug existed unnoticed because GetFileByIndex gracefully handles an invalid index. However, the bug manifested itself after #71458, which added a call to getFileNameEntry which requires the index to be valid. No test as the bug cannot be observed without the changes from #71458. Once that PR is merged, this will be covered by all the DWARF v5 tests.
-
Jay Foad authored
SIInstrInfo::commuteInstructionImpl should accept indices to commute in either order. This simplifies SIFoldOperands::tryAddToFoldList where OtherIdx, CommuteIdx0 and CommuteIdx1 are no longer needed.
-
William Junda Huang authored
[SampleProfile] Fix bug where remapper returns empty string and crashing Sample Profile loader (#71479) Normally SampleContext does not allow using an empty StirngRef to construct an object, this is to prevent bugs reading the profile. However empty names may be emitted by a function which its name is intentionally set to empty, or a bug in the remapper that returns an empty string. Regardless, converting it to FunctionId first will prevent the assert, and that assert check is unnecessary, which will be addressed in another patch
-