- Oct 21, 2021
-
-
Raphael Isemann authored
-
Valentin Clement authored
This patch is extracted from D111337. It introduce the CharacterExprHelper that helps dealing with character in FIR. Reviewed By: schweitz, awarzynski Differential Revision: https://reviews.llvm.org/D112140 Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
eopXD authored
This patch supplements missing test case for D107353. - Fix wrong descriptions in 64-bit mode test case - Added testcase under 32-bit mode Reviewed By: bmahjour Differential Revision: https://reviews.llvm.org/D108507
-
Daniel Jalkut authored
When you invoke "help type filter" the resulting help shows: Syntax: type synthetic [<sub-command-options>] This patch fixes the help so it says "type filter" instead of "type synthetic". patch by: "Daniel Jalkut <jalkut@red-sweater.com>" Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D112199
-
Yi Kong authored
Differential Revision: https://reviews.llvm.org/D112075
-
Mehdi Amini authored
This reverts commit dc2be87e. Seems like this broke all the CI bots.
-
Igor Kudrin authored
If segments are defined in a linker script, placing an orphan section before the found closest-rank section can result in adding it in a previous segment and changing flags of that segment. This happens if the orphan section has a lower sort rank than the found section. To avoid that, the patch forces orphan sections to be moved after the found section if segments are explicitly defined. Differential Revision: https://reviews.llvm.org/D111717
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
We have nothing to do after the Argument is found.
-
Vy Nguyen authored
For future references and to help with debugging crashes, this could be useful. Differential Revision: https://reviews.llvm.org/D110464
-
Shengchen Kan authored
ARITH_FENCE, which was added by https://reviews.llvm.org/D99675, should be a meta-instruction b/c it only emits comments "ARITH_FENCE". Reviewed By: pengfei, LuoYuanke Differential Revision: https://reviews.llvm.org/D112127
-
Volodymyr Sapsai authored
While working on https://reviews.llvm.org/D110280 I've tried to merge decl contexts as it seems to be correct and matching our handling of decl contexts from different modules. It's not required for the fix in https://reviews.llvm.org/D110280 but it revealed a missing diagnostic, so separating this change into a separate commit. Renamed some variables to distinguish diagnostic like "declaration of 'x' does not match" for different cases. Differential Revision: https://reviews.llvm.org/D110287
-
Peixin-Qiao authored
This patch supports the ordered construct in OpenMP dialect following Section 2.19.9 of the OpenMP 5.1 standard. Also lowering to LLVM IR using OpenMP IRBduiler. Lowering to LLVM IR for ordered simd directive is not supported yet since LLVM optimization passes do not support it for now. Reviewed By: kiranchandramohan, clementval, ftynse, shraiysh Differential Revision: https://reviews.llvm.org/D110015
-
Brad Smith authored
- Pass CPU variant for ARM - Pass MIPS CPU in addition to the ABI
-
Craig Topper authored
The intrinsic is called llvm.ceil not llvm.fceil. The checks weren't strong enough to notice that a call to llvm.fceil was emitted in the final assembly.
-
Nikita Malyavin authored
Add following interceptors on Linux: stat, lstat, fstat, fstatat. This fixes use-of-uninitialized value on platforms with GLIBC 2.33+. In particular: Arch Linux, Ubuntu hirsute/impish. The tests should have also been failing during the release on the mentioned platforms, but I cannot find any related discussion. Most likely, the regression was introduced by glibc commit [[ https://github.com/bminor/glibc/commit/8ed005daf0ab03e142500324a34087ce179ae78e | 8ed005daf0ab03e14250032 ]]: all stat-family functions are now exported as shared functions. Before, some of them (namely stat, lstat, fstat, fstatat) were provided as a part of libc_noshared.a and called their __xstat dopplegangers. This is still true for Debian Sid and earlier Ubuntu's. stat interceptors may be safely provided for them, no problem with that. Closes https://github.com/google/sanitizers/issues/1452. See also https://jira.mariadb.org/browse/MDEV-24841 Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D111984
-
Jez Ng authored
It's currently using a symlink, which is not supported on Windows.
-
Arthur Eubanks authored
With unoptimized code, we may see lots of stores and spend too much time in mergeTruncStores. Fixes PR51827. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D111596
-
Pavel Kosov authored
Fixes PR: https://bugs.llvm.org/show_bug.cgi?id=52230 Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D112135 OS Laboratory, Huawei Russian Research Institute, Saint-Petersburg
-
Ben Langmuir authored
Broke on aarch64-linux. Reverting while I investigate. This reverts commit 5692ed0c.
-
Louis Dionne authored
-
Louis Dionne authored
This reverts commit 5a8ad80b, which broke the Bootstrapping build. I'm reverting until we've fixed the issue. Differential Revision: https://reviews.llvm.org/D112082
-
Louis Dionne authored
This doesn't change anything on platforms that have <unistd.h>, but it will allow this file to compile on platforms that do not.
-
Nikita Popov authored
The loads in these examples are currently not considered ephemeral because they are not speculatable.
-
Valentin Clement authored
This reverts commit 02d7089c.
-
Sanjay Patel authored
This is a small extension of D112095 to avoid another regression seen with D112085. In this case, we allow the same conversion from usubsat to ALU ops if the target supports vpternlog. That pattern will get converted later in X86DAGToDAGISel::tryVPTERNLOG(). This seems better than putting a magic immediate constant directly in this code to create the exact vpternlog that we need. It's possible that there are other special-cases along these lines, so we should try to keep all of the vpternlog magic in one place. Differential Revision: https://reviews.llvm.org/D112138
-
Louis Dionne authored
Those creep up from time to time. We need to use `int main(int, char**)` because in freestanding mode, `main` doesn't get special treatment and special mangling, so we setup a symbol alias from the mangled version of `main(int, char**)` to `extern "C" main`. That only works if all the tests are consistent about how they define their main function.
-
Stanislav Mekhanoshin authored
%not1 = xor i32 %b, -1 %not2 = xor i32 %c, -1 %and1 = and i32 %a, %not1 %and2 = and i32 %and1, %not2 => %i1 = or i32 %b, %c %i2 = xor i32 %1, -1 %and2 = and i32 %i2, %a Differential Revision: https://reviews.llvm.org/D112108
-
Erich Keane authored
Originally I thought that I needed to do a #include to trick the compiler into letting me use typeid I believe, but Aaron explained that it was just looking for the type_info type. I had to give it some public/private members to make it emit the same as before, but this ought to be a 'perfect' replacement.
-
Stanislav Mekhanoshin authored
-
Florian Hahn authored
At the moment, rewriteLoopExitValue forgets the current phi node in the loop that collects phis to rewrite. A few lines after the value is forgotten, SCEV is used again to analyze incoming values and potentially expand SCEV expression. This means that another SCEV is created for PN, before the IR is actually updated in the next loop. This leads to accessing invalid cached expression in combination with D71539. PN should only be changed once the actual incoming exit value is set in the next loop. Moving invalidation there should ensure that PN is invalidated in all relevant cases. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D111495
-
Aart Bik authored
The current implementation used explicit index->int64_t casts for some, but not all instances of passing values of type "index" in and from the sparse support library. This revision makes the situation more consistent by using new "index_t" type at all such places (which allows for less trivial casting in the generated MLIR code). Note that the current revision still assumes that "index" is 64-bit wide. If we want to support targets with alternative "index" bit widths, we need to build the support library different. But the current revision is a step forward by making this requirement explicit and more visible. Reviewed By: wrengr Differential Revision: https://reviews.llvm.org/D112122
-
Erich Keane authored
My downstream noticed that the test failed on windows-32 bit machines since the types have __attribute__((thiscall)) on them in a few places. This patch just adds a wildcard to handle that, since it isn't particularly important to the test.
-
Valentin Clement authored
This patch is extracted from D111337. It introduce the CharacterExprHelper that helps dealing with character in FIR. Reviewed By: schweitz, awarzynski Differential Revision: https://reviews.llvm.org/D112140 Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
Erich Keane authored
Writing a quick test to make sure we are aware of the change to the _ExtInt/_BitInt ABI on x86 (32bit) OSes.
-
Ahmed S. Taei authored
Add a pattern to take a rank-reducing subview and drop inner most contiguous unit dim. This is useful when lowering vector to backends with 1d vector types. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D111561
-
Jon Roelofs authored
https://godbolt.org/z/h8ejrG4hb rdar://83597585 Differential Revision: https://reviews.llvm.org/D111856
-
Jonas Devlieghere authored
-
Stanislav Mekhanoshin authored
MachineLoop::isLoopInvariant() returns false for all VALU because of the exec use. Check TII::isIgnorableUse() to allow hoisting. That unfortunately results in higher register consumption since MachineLICM does not adequately estimate pressure. Therefor I think it shall only be enabled after D107677 even though it does not depend on it. Differential Revision: https://reviews.llvm.org/D107859
-