- Jul 02, 2022
-
-
Nuno Lopes authored
-
Nuno Lopes authored
-
Maksim Panchenko authored
If BOLT instrumentation runtime uses XMM registers, it can interfere with the user program causing crashes and unexpected behavior. This happens as the instrumentation code preserves general purpose registers only. Build BOLT instrumentation runtime with "-mno-sse". Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D128960
-
Fangrui Song authored
-
Argyrios Kyrtzidis authored
This is a preprocessor callback focused on the lexed file changing, without conflating effects of line number directives and other pragmas. A client that only cares about what files the lexer processes, like dependency generation, can use this more straightforward callback instead of `PPCallbacks::FileChanged()`. Clients that want the pragma directive effects as well can keep using `FileChanged()`. A use case where `PPCallbacks::LexedFileChanged()` is particularly simpler to use than `FileChanged()` is in a situation where a client wants to keep track of lexed file changes that include changes from/to the predefines buffer, where it becomes unnecessary complicated trying to use `FileChanged()` while filtering out the pragma directives effects callbacks. Also take the opportunity to provide information about the prior `FileID` the `Lexer` moved from, even when entering a new file. Differential Revision: https://reviews.llvm.org/D128947
-
Arthur Eubanks authored
-
Arthur Eubanks authored
-
Sanjay Patel authored
This transform is responsible for a long-standing miscompile as discussed in issue #47012 (was bugzilla #47668). There was a proposal to correct it in D88432, but that was abandoned and there hasn't been any recent activity to fix it AFAICT. The original patch D45108 started with a constant-shift-only restriction and only expanded during review, so I don't think there's much risk of perf regression on the motivating code.
-
Sanjay Patel authored
The update script ( utils/update_test_checks.py ) warns against this.
-
wren romano authored
This is a followup to D128847. The `AffineMap::getPermutedPosition` method performs a linear scan of the map, thus the previous implementation had asymptotic complexity of `O(|topSort| * |m|)`. This change reduces that to `O(|topSort| + |m|)`. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D129011
-
Valentin Clement authored
This test is added to check for multidimensional descriptor of array substring/derived type component array. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D128990 Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Alexey Bataev authored
NFC.
-
Haojian Wu authored
-
Eric Kunze authored
The TOSA Specification doesn't have a dilation attribute for transpose_conv2d, and the padding array is of size 4. (top,bottom,left,right). This change updates the dialect to match the specification, and updates the lit tests to match the dialect changes. Differential Revision: https://reviews.llvm.org/D127332
-
Alexey Bataev authored
freezextra freeze, NFC.e.
-
Fangrui Song authored
-
Arthur Eubanks authored
-
rdzhabarov authored
There is no need to specify `run-reproducer` explicitly anymore. Differential Revision: https://reviews.llvm.org/D129010
-
Erich Keane authored
This reverts commit befa8cf0. Apparently this breaks some libc++ builds with an apparent assertion, so I'm looking into that .
-
Craig Topper authored
getPointerAlignment and ConstantPoolSDNode::getAlign only consider the alignment of the object. If we already have a non-zero offset into the offset that may have reduced the alignment. Since the base pointer will become an LUI with the old offset, we need to be sure the new offset fits in the alignment of the address that will be used to create the LUI immediate. I'm not sure it is possible to have a non-zero offset in the GlobalAddressSDNode or ConstantPoolSDNode at this point today so this may only be a theoretical bug. Differential Revision: https://reviews.llvm.org/D129006
-
Haojian Wu authored
-
Fangrui Song authored
This fixes test/DebugInfo/Generic/accel-table-hash-collisions.ll and cross-cu-inlining.ll when the default triple is riscv. llvm-dwarfdump --apple-names does not resolve R_RISCV_{ADD,SUB}32 in .apple_names .apple_types and having ADD/SUB will cause decoding failure `Atom[0]: Error extracting the value`. -
Rong Xu authored
isAssumeLikeIntrinsic() is a superset of isLifetimeStartOrEnd().
-
Peiming Liu authored
Reviewed By: aartbik, wrengr Differential Revision: https://reviews.llvm.org/D128058
-
Xiang Li authored
Add DXIL operation for thread/group id operations. ID Name Description 93 ThreadId reads the thread ID 94 GroupId reads the group ID (SV_GroupID) 95 ThreadIdInGroup reads the thread ID within the group (SV_GroupThreadID) 96 FlattenedThreadIdInGroup provides a flattened index for a given thread within a given group (SV_GroupIndex) Also add llvm intrinsic which map to these intrinsics to DXIL operation. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D127990
-
Aaron Ballman authored
This updates the status for another 8 DRs.
-
Petr Hosek authored
Fuchsia has split overloaded nanosleep(0) for yielding to its own dedicated syscall, so valid zero deadlines would just return. Patch By: gevalentino Differential Revision: https://reviews.llvm.org/D128748
-
Quentin Colombet authored
Before merging two instructions together, GISel does some sanity checks that the folding is legal. However that check was missing that the source of the pattern may be convergent. When the destination location is in a different basic block, the folding is invalid. Differential Revision: https://reviews.llvm.org/D128539
-
Petr Hosek authored
Fuchsia already uses libunwind, but it does so implicitly via libc++. This change makes the unwinder choice explicit. Differential Revision: https://reviews.llvm.org/D127887
-
LLVM GN Syncbot authored
-
Martin Sebor authored
Precommit tests exercising the future folding of memchr and strchr calls in equality expressions with the first function argument.
-
Martin Sebor authored
Add an emitter for the memrchr common extension and simplify the strrchr call handler to use it. This enables transforming calls with the empty string to the test C ? S : 0. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D128954
-
Alexey Lapshin authored
This review is extracted from D96035. This patch adds possibility to keep not only DwarfStringPoolEntry, but also pointer to it. The DwarfStringPoolEntryRef keeps reference to the string map entry. String map keeps string data and corresponding DwarfStringPoolEntry info. Not all string map entries may be included into the result, and then not all string entries should have DwarfStringPoolEntry info. Currently StringMap keeps DwarfStringPoolEntry for all entries. It leads to extra memory usage. This patch allows to keep DwarfStringPoolEntry info only for entries which really need it. [reland] : make msan happy. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D126883
-
Pengxuan Zheng authored
There exists some description of the flag from Microsoft, but not sure if there's more to it. We ignore the flag for now until we find out more about it. https://docs.microsoft.com/en-us/cpp/build/reference/kernel-create-kernel-mode-binary?view=msvc-170 Reviewed By: thieta, hans Differential Revision: https://reviews.llvm.org/D128238
-
Arjun P authored
This also changes the space of the returned lexmin for IntegerPolyhedrons; the symbols in the poly now correspond to symbols in the result rather than dims. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D128933
-
Arjun P authored
[MLIR][Presburger] Simplex: refactor (symbolic)lex to support specifying multiple varKinds as symbols This is also required to support lexmin for relations. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D128931
-
Kirill Okhotnikov authored
Previous implementation splits value ranges around threads. Because of very different performance of testing functions over different ranges, CPU utilization were poor. Current implementation split test range over small pieces and threads take the pieces when they finish with previous. Therefore the CPU load is constant during testing. Differential Revision: https://reviews.llvm.org/D128995
-
Fangrui Song authored
ET_EXEC and ET_DYN files may contain non-SHF_ALLOC relocation sections (e.g. ld --emit-relocs). Match GNU objdump by dumping them. * Remove Object/dynamic-reloc.test. Replace it with a -r RUN line in dynamic-relocs.test * Update relocations-in-nonreloc.test to set sh_link/sh_info. GNU objdump seems to ignore a SHT_REL/SHT_RELA section not linking to SHT_SYMTAB. The test did not test what it intended to test. Fix https://github.com/llvm/llvm-project/issues/41246 Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D128959
-
- Jul 01, 2022
-
-
Fazlay Rabbi authored
This patch gives basic parsing and semantic support for "parallel masked taskloop simd" construct introduced in OpenMP 5.1 (section 2.16.10) Differential Revision: https://reviews.llvm.org/D128946
-