- Mar 02, 2023
-
-
Renaud-K authored
https://reviews.llvm.org/D144921
-
Fangrui Song authored
Following recent changes to remove non-core legacy passes.
-
Dan Liew authored
This patch adds the following methods: * `GetType()` * `GetWatchValueKind()` * `GetWatchSpec()` * `IsWatchingReads()` * `IsWatchingWrites()` These mostly expose methods that `lldb_private::Watchpoint` already had. Tests are included that exercise these new methods. The motivation for exposing these are as follows: * `GetType()` - With this information and the address from a watchpoint it is now possible to construct an SBValue from an SBWatchpoint. Previously this wasn't possible. The included test case illustrates doing this. * `GetWatchValueKind()` - This allows the caller to determine whether the watchpoint is a variable watchpoint or an expression watchpoint. A new enum (`WatchpointValueKind`) has been introduced to represent the return values. Unfortunately the name `WatchpointKind` was already taken. * `GetWatchSpec()` - This allows (at least for variable watchpoints) to use a sensible name for SBValues created from an SBWatchpoint. * `IsWatchingReads()` - This allow checking if a watchpoint is monitoring read accesses. * `IsWatchingWRites()` - This allow checking if a watchpoint is monitoring write accesses. rdar://105606978 Reviewers: jingham, mib, bulbazord, jasonmolenda, JDevlieghere Differential Revision: https://reviews.llvm.org/D144937
-
Mitch Phillips authored
Adds the new AArch64-ABI dynamic entry generation to LLD. This will allow Android to move from the Android-specific ELF note onto the dynamic entries. Change the behaviour of an unspecified --android-memtag-mode. Now, when unspecified, this will print a warning that you're doing a no-op, rather than implicitly turning on sync mode. This is important for MTE globals later, where a binary containing static tagged global descriptors shouldn't have MTE turned on without specific intent being passed to the linker. For now, continue to emit the Android ELF note by default. In future, we can probably make it only emit the note when provided a flag. Do a quick NFC-cleanup of the ELF note while we're here. It doesn't change anything about the ELF note itself, but makes it more clear to the reader of the code what alignment requirements are being (previously implicitly) met. Reviewed By: fmayer, MaskRay Differential Revision: https://reviews.llvm.org/D143769
-
usama hameed authored
since it is not supported Differential Revision: https://reviews.llvm.org/D144672
-
Peiming Liu authored
Instead of always materializing a new sparse tensor after reshape, this patch tries to fuses the reshape (currently only on COO) with GenericOp and coiterates with the reshaped tensors without allocating a new sparse tensor. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D145016
-
Jakub Kuderski authored
This makes the SPIR-V type converter first convert `index` element types to the right integer type. Fixes: https://github.com/llvm/llvm-project/issues/61054 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D145090
-
Simon Pilgrim authored
As noticed on D144789, when we have pairs of min/max nodes we often end up with multiple comparisons which we could reuse with commuted select ops, so check to see if a suitable SETCC already exists. This also allowed us to remove a similar X86 peephole. There are other getSETCC cases where we could safely reuse other CondCodes as well - I've been trying to think of how we could reuse this logic in SelectionDAG but haven't found anything that always works well. An alternative would be to have a TLI callback that returns a preferred CondCode from a list of options, I've noticed this helped fpclamptosat tests on some other targets (MVE + WebAssembly), but other tests suffered. Differential Revision: https://reviews.llvm.org/D145065
-
Mitch Phillips authored
This adds functionality to readelf/readobj to specifically handle MTE-related bits, like the AARCH64_MEMTAG_* dynamic entries, and a decoder for the Android-specific ELF note. Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D143693
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D144995
-
Michael Jones authored
When running the tbin2dec tests I found a rounding error in my code. Upon inspection I realized it was due to a lack of parenthesis when calculating the number of trailing digits. This patch fixes that mistake and adds unit tests to catch regressions in future. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D145011
-
Alex Brachet authored
-
Alex Brachet authored
-
Louis Dionne authored
-
Shivam kunwar authored
[libc++] implement move_iterator<T*> should be a random access iterator \n Differntial Revision- https://reviews.llvm.org/D135248
-
Sanjay Patel authored
issue #51397
-
Sanjay Patel authored
-
Kazu Hirata authored
This patch fixes: mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp:37:13: error: unused function 'debugPrintLoopInShortForm' [-Werror,-Wunused-function]
-
Arthur Eubanks authored
No measurable compile time impact, but might as well resolve the TODO. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D145014
-
Arthur Eubanks authored
Rather than having a separate flag. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D145015
-
Anshil Gandhi authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D145013
-
Anshil Gandhi authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D145018
-
Ashay Rane authored
The `-serialize-diagnostics` flag requires a filename to be passed immediately after it, but the filename argument was skipped in the P1689.cppm clang test. This caused the code to incorrectly consume the argument that followed as the dignostics file. Since the `-serialize-diagnostics` flag isn't needed for this test to work, this patch removes it instead of passing a file argument. Differential Revision: https://reviews.llvm.org/D144934
-
Chris Cotter authored
The coroutineBodyStmt matcher matches CoroutineBodyStmt AST nodes. Differential Revision: https://reviews.llvm.org/D140794
-
David Green authored
I'm not sure how I missed this in the testing, but as far as I understand whilst ABDS and ABDU are commutive they are not associative. This patch disables reassociateOps from visitABD, fixing the problems found in #61069. ABDU: https://alive2.llvm.org/ce/z/eiT5QG ABDS: https://alive2.llvm.org/ce/z/HzE29l Differential Revision: https://reviews.llvm.org/D145064
-
Jakub Kuderski authored
This allows `enumerate` to work with range types that expose custom `begin`/`end` functions. This is a cleanup in preparation for future changes in https://reviews.llvm.org/D144503. Reviewed By: zero9178 Differential Revision: https://reviews.llvm.org/D145026
-
Nicolas Vasilache authored
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D138802
-
- Mar 01, 2023
-
-
Arthur O'Dwyer authored
First, fix a collision with the Point type from MacTypes.h, which was reported on Slack, 2022-07-31: https://cpplang.slack.com/archives/C2X659D1B/p1659284691275889 Second, rename the meta:: namespace to types::. OSX's "/usr/include/ncurses.h" defines a `meta` function, and is (for some reason) included in "<SDK>/usr/include/module.modulemap", so that identifier is off-limits for us to use in anything that compiles with -fmodules: libcxx/test/support/type_algorithms.h:16:11: error: redefinition of 'meta' as different kind of symbol namespace meta { ^ <SDK>/usr/include/ncurses.h:603:28: note: previous definition is here extern NCURSES_EXPORT(int) meta (WINDOW *,bool); /* implemented */ ^ Finally, add a CI configuration for modules on OS X to make sure it does not regress. Differential Revision: https://reviews.llvm.org/D144915
-
bixia1 authored
Rewrite a NewOp into a NewOp of a sorted COO tensor and a ConvertOp for converting the sorted COO tensor to the destination tensor type. Codegen a NewOp of a sorted COO tensor to use the new bulk reader API and sort the elements only when the input is not sorted. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D144504
-
Nicolas Vasilache authored
Rewrite and document multi-buffering properly: 1. Use IndexingUtils / StaticValueUtils instead of duplicating functionality 2. Properly plumb RewriterBase through. 3. Add support 4. Better debug messages. This revision is otherwise almost NFC, if it weren't for the extra DeallocOp support that would previoulsy make multi-buffering fail. Depends on: D145036 Differential Revision: https://reviews.llvm.org/D145055
-
Alex Bradbury authored
By choice, we don't set HalfArgsAndReturns=true (which would allow __fp16 in args and returns). Add test coverage for this to ensure it isn't changed by accident.
-
Florian Hahn authored
Invalidate SCEV before adjusting switch instruction, so the IR remains in a valid state for SCEV invalidation.
-
Jirui Wu authored
Since the redundant BTI instructions emitted by jump tables are now removed in the ARMBranchTargets pass, the fixupBTI function is not needed in the ARMConstantIslandPass. Some related tests are removed as well. The relevant patch that removes the redundant BTI instructions: https://reviews.llvm.org/D144470 Differential Revision: https://reviews.llvm.org/D145048
-
Valentin Clement authored
16.9.129 point 4: the result is polymorphic if and only if both TSOURCE and FSOURCE are polymorphic. If neither TSOURCE and FSOURCE are polymorphic then the current behavior is preserved. Depends on D145058 Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D145060
-
Igor Kushnir authored
Temporary directories created by two LibclangReparseTest tests - ReparseWithModule and clang_parseTranslationUnit2FullArgv - remained in the system temporary directory after running libclangTests, because not all files and subdirectories created in TestDir were added to set LibclangParseTest::Files. Differential Revision: https://reviews.llvm.org/D143415
-
Valentin Clement authored
Relax a bit the condition added in D144417 and allow scalar polymorphic entities and boxed scalar record type. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D145058
-
Timm Bäder authored
This is possible in C++20, so we need to check this when doing stores. Differential Revision: https://reviews.llvm.org/D136751
-
Alexey Bataev authored
removal, NFC.
-
Nikita Popov authored
Default MaxDivRemBitWidthSupported to 128, so that divisions larger than 128 bits are always expanded, without requiring additional configuration from the target. Note that this may still emit calls to __udivti3 on 32-bit targets, which likely don't have an implementation of that builtin. However, I believe this is sufficient to fix https://github.com/llvm/llvm-project/issues/60531, because Zig must already be defining those builtins. Differential Revision: https://reviews.llvm.org/D144871
-