- Mar 08, 2022
-
-
Sam Clegg authored
We don't yet do anything when this feature is enabled, this change just lays the ground work by accepting that there is such a feature. See https://github.com/WebAssembly/extended-const Differential Revision: https://reviews.llvm.org/D121151
-
Peter Klausler authored
When a structure constructor does not initialize an allocatable component, ensure that the typed expression representation contains an explicit NULL() for the component. Expression semantics already copies default initialized expressions for nonallocatable components into structure constructors. This change is expected to simplify lowering. Differential Revision: https://reviews.llvm.org/D121162
-
Arthur Eubanks authored
-
Louis Dionne authored
This reverts commit bed3240b. I will need to add more tests for std::shared_ptr<T const> before re-landing this.
-
Jacob Lambert authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D105507
-
Peter Klausler authored
Crash when DIM= is not a valid dimension in the result. Differential Revision: https://reviews.llvm.org/D121145
-
Groverkss authored
This patch cleans up the interface to PresburgerSet. At a high level it does the following changes: - Move member functions around to have constructors at top and print/dump at end. - Move a private function to be a static function instead. - Change member functions of type "getAllIntegerPolyhedron" to "getAllPolys" instead. - Improve documentation for PresburgerSet. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D121027 -
Peter Klausler authored
Rather than reading default character variables in formatted input one byte at a time via NextInField(), skip and read them via blocks of available buffer data. This eliminates a bottleneck that affected reads of large character values. (It also exposed a problem with sequential reads with RECL= set on the OPEN statement, so that's fixed too.) Differential Revision: https://reviews.llvm.org/D121144
-
Jonathan Peyton authored
Register constraint switched to "=q" which means very specifically (from https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html#Machine-Constraints) > Any register accessible as rl. In 32-bit mode, a, b, c, and d; in 64-bit mode, any integer register. Older gcc versions (8.x and below) were trying to use esi or edi for the 8 bit flag variable, but it wound up displaying this error in the end: kmp_lock.cpp: In function ‘void __kmp_spin_backoff(kmp_backoff_t*)’: kmp_lock.cpp:2684:1: error: unsupported size for integer register Hence the correct restriction is "=q" instead of "=r". Fixes: https://github.com/llvm/llvm-project/issues/53309 Differential Revision: https://reviews.llvm.org/D120519
-
Hanhan Wang authored
In quantized comutation, there are casting ops around computation ops. Reorder the ops to make reduce-to-contract actually work. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D120760
-
Valentin Clement authored
This patch add the lowering for the allocate and the deallocate statements. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D121146 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
Arthur O'Dwyer authored
Saves one move in each case, which is basically nothing perf-wise; this is more about simplifying the code. Differential Revision: https://reviews.llvm.org/D121130
-
Ahmed Bougacha authored
Currently, when instrumenting indirect calls, this uses CallBase::getCalledFunction to determine whether a given callsite is eligible. However, that returns null if: this is an indirect function invocation or the function signature does not match the call signature. So, we end up instrumenting direct calls where the callee is a bitcast ConstantExpr, even though we presumably don't need to. Use isIndirectCall to ignore those funky direct calls. Differential Revision: https://reviews.llvm.org/D119594
-
Yuanfang Chen authored
This reverts commit 73134743. Break bots: http://45.33.8.238/win/54551/step_7.txt http://45.33.8.238/macm1/29590/step_7.txt
-
Martin Storsjö authored
If LIBCXX_ENABLE_SHARED isn't explicitly set on the cmake command line, isn't set in the cache, and the libcxxabi project is configured before libcxx, then LIBCXX_ENABLE_SHARED isn't defined yet. Once the libcxx cmake project has been parsed, LIBCXX_ENABLE_SHARED would have been set to its default value of ON. This makes sure that the symbols are properly dllexported in such a configuration scenario. Differential Revision: https://reviews.llvm.org/D120982
-
Louis Dionne authored
This extension is a portability trap for users, since no other standard library supports it. Furthermore, the Standard explicitly allows implementations to reject std::allocator<cv T>, so allowing it is really going against the current. This was discovered in D120684: this extension required `const_cast`ing in `__construct_range_forward`, a fishy bit of code that can be removed if we don't support the extension anymore. Differential Revision: https://reviews.llvm.org/D120996
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D121028
-
Peter Klausler authored
A recent patch made it possible to emit more localized error messages pertaining to actual arguments in non-intrinsic procedure references. Use these new powers for good and make intrinsic error messages more precise, too. Differential Revision: https://reviews.llvm.org/D121126
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Jonas Devlieghere authored
This makes editing the table easier and mistakes more obvious.
-
Jonas Devlieghere authored
Support ANSI escape codes for bright colors variants. Most modern terminals support them. LLDB is not using them in any of its defaults, but they're useful for people who want to modify their preferred ANSI prefix/suffix. Differential revision: https://reviews.llvm.org/D121131
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D121023
-
Florian Hahn authored
When dealing with multiple phis that depend on each other, the order might have been changed and may not match the expectation. If that happens, bail out, rather than asserting. Fixes https://github.com/llvm/llvm-project/issues/54218 Fixes https://github.com/llvm/llvm-project/issues/54233 Fixes https://github.com/llvm/llvm-project/issues/54254
-
Krzysztof Parzyszek authored
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D120855
-
https://reviews.llvm.org/D120755Greg Clayton authored
This improves this test a lot because before when using the "attachCommands" to run the following commands: (lldb) target create -d /path/to/a.out (lldb) process launch This was racy as it wasn't stopping the program at the entry point, and the process might run to completion before we can even debug it. With the recent changes to the "attachCommands" we were waiting for the process to stop, but the process might be exited already, and that _should_ have caused the attach to fail since there was no process to attach to. By adding "--stop-at-entry" to the process launch, we ensure this should be less racy and give us a valid process to attach to.
-
Siva Chandra Reddy authored
The loader TLS test for x86_64, which now passes, has been enabled. A future change should enable the test for aarch64 as well. Reviewed By: jeffbailey Differential Revision: https://reviews.llvm.org/D121091
-
Peter Klausler authored
When a contiguous range of a cooked character stream is being mapped to a range of source provenance, the code was assuming that the "end()" position of the input range -- being the character immediately after the range -- would also follow the range's source provenance. This isn't always the case. Modify the code to work with the true last character of the input range (at end()-1) and to also cope with cases when that last position truly maps to an earlier provenance, which can happen when the prescanner has inserted a space into the cooked character stream. Differential Revision: https://reviews.llvm.org/D121124
-
Austin Kerbow authored
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D120769
-
Mitch Phillips authored
This ELF note is aarch64 and Android-specific. It specifies to the dynamic loader that specific work should be scheduled to enable MTE protection of stack and heap regions. Current synthesis of the ".note.android.memtag" ELF note is done in the Android build system. We'd like to move that to the compiler, and this is the first step. Reviewed By: MaskRay, jhenderson Differential Revision: https://reviews.llvm.org/D119381
-
Craig Topper authored
vslide1up/down have this flag set, but the value isn't a splat. Rename for clarity. Reviewed By: khchen Differential Revision: https://reviews.llvm.org/D121037
-
Craig Topper authored
Previously we used sra+add+xor if ADDCARRY is supported. This changes to sra+xor+sub is SUBCARRY is available. This is consistent with the recent change to the default expansion in LegalizeDAG. Differential Revision: https://reviews.llvm.org/D121039
-
River Riddle authored
This method is redundant with the Operation* overload, and is an artifact of when FuncOp wasn't an operation.
-
River Riddle authored
-
River Riddle authored
The current StandardToLLVM conversion patterns only really handle the Func dialect. The pass itself adds patterns for Arithmetic/CFToLLVM, but those should be/will be split out in a followup. This commit focuses solely on being an NFC rename. Aside from the directory change, the pattern and pass creation API have been renamed: * populateStdToLLVMFuncOpConversionPattern -> populateFuncToLLVMFuncOpConversionPattern * populateStdToLLVMConversionPatterns -> populateFuncToLLVMConversionPatterns * createLowerToLLVMPass -> createConvertFuncToLLVMPass Differential Revision: https://reviews.llvm.org/D120778
-
Haojian Wu authored
Add a utility function to strip comments from a "raw" tokenstream. The derived stream will be fed to the GLR parser (for early testing). Differential Revision: https://reviews.llvm.org/D121092
-