- Oct 14, 2022
-
-
Adrian Prantl authored
-
Kazu Hirata authored
This patch fixes: flang/lib/Lower/ConvertExpr.cpp:2733:14: error: variable 'callNumResults' set but not used [-Werror,-Wunused-but-set-variable]
-
Jakub Kuderski authored
Add a new pass and conversions to emulate wide integer operations over memrefs. The emulation is implemented on top of the existing pass to emulate wide integer arith ops. Improve naming in the arith pass to avoid potential name clashes. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D135722
-
Kazu Hirata authored
This patch fixes: clang/lib/CodeGen/CGCall.cpp:1867:64: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
-
Daniel Kiss authored
A given arch feature might enabled by a pragma or a function attribute so in this cases would be nice to use intrinsics. Today GCC offers the intrinsics without the march flag[1]. PR[2] for ACLE to clarify the intention and remove the need for -march flag for a given intrinsics. This is going to be more useful when D127812 lands. [1] https://godbolt.org/z/bxcMhav3z [2] https://github.com/ARM-software/acle/pull/214 Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D133359
-
Amy Kwan authored
This patch adds a test case for lowering vector shuffles to xxsplti32dx in preparation for D135024. The test case added in this patch only adds the 64-bit CHECKs, as the 32-bit CHECKs cannot be generated (in which D135024 aims to fix).
-
Chris Lattner authored
This adds a constructor and upgrades the dtor to work with move-only types. Differential Revision: https://reviews.llvm.org/D135940
-
Zahira Ammarguellat authored
There are currently two options that are used to tell the compiler to perform unsafe floating-point optimizations: '-ffast-math' and '-funsafe-math-optimizations'. '-ffast-math' is enabled by default. It automatically enables the driver option '-menable-unsafe-fp-math'. Below is a table illustrating the special operations enabled automatically by '-ffast-math', '-funsafe-math-optimizations' and '-menable-unsafe-fp-math' respectively. Special Operations -ffast-math -funsafe-math-optimizations -menable-unsafe-fp-math MathErrno 0 1 1 FiniteMathOnly 1 0 0 AllowFPReassoc 1 1 1 NoSignedZero 1 1 1 AllowRecip 1 1 1 ApproxFunc 1 1 1 RoundingMath 0 0 0 UnsafeFPMath 1 0 1 FPContract fast on on '-ffast-math' enables '-fno-math-errno', '-ffinite-math-only', '-funsafe-math-optimzations' and sets 'FpContract' to 'fast'. The driver option '-menable-unsafe-fp-math' enables the same special options than '-funsafe-math-optimizations'. This is redundant. We propose to remove the driver option '-menable-unsafe-fp-math' and use instead, the setting of the special operations to set the function attribute 'unsafe-fp-math'. This attribute will be enabled only if those special operations are enabled and if 'FPContract' is either 'fast' or set to the default value. Differential Revision: https://reviews.llvm.org/D135097
-
Nikita Popov authored
As pointed out by thakis in https://reviews.llvm.org/D135436#3858463, this variable can be dropped now that the Go bindings have been removed.
-
Aaron Ballman authored
This introduces support for nullptr and nullptr_t in C2x mode. The proposal accepted by WG14 is: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3042.htm Note, there are quite a few incompatibilities with the C++ feature in some of the edge cases of this feature. Therefore, there are some FIXME comments in tests for testing behavior that might change after WG14 has resolved national body comments (a process we've not yet started). So this implementation might change slightly depending on the resolution of comments. This is called out explicitly in the release notes as well. Differential Revision: https://reviews.llvm.org/D135099
-
Joseph Huber authored
-
Joseph Huber authored
Summary: This patch changes the `exports` file to export all `__tgt_rtl` functions. This is a better option as not each plugin implements all of these functions, furthermore any new functions added will be automatically included.
-
Sander de Smalen authored
Functions with `aarch64_sme_pstatesm_body` will emit a SMSTART at the start of the function, and a SMSTOP at the end of the function, such that all operations use the right value for vscale. Because the placement of these nodes is critically important (i.e. no vscale-dependent operations should be done before SMSTART has been issued), we require glueing the CopyFromReg to the Entry node such that we can insert the SMSTART as part of that glued chain. More details about the SME attributes and design can be found in D131562. Reviewed By: aemerson Differential Revision: https://reviews.llvm.org/D131582
-
Guillaume Chatelet authored
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms. Codegen can be checked here https://godbolt.org/z/chf1Y6eGM Differential Revision: https://reviews.llvm.org/D135134 -
Animesh Kumar authored
This patch improves the LIT tests on the following : 1. The test on `uses_allocators` clause in the `target` region by adding the respective CHECK lines. Allocator `omp_thread_mem_alloc` is also added in the test. 2. The `defaultmap` clause wasn't being tested for the variable- category `scalar` and the implicit-behavior `tofrom` with respect to the OpenMP default version. These improvements are inspired from SOLLVE tests. SOLLVE repo: https://github.com/SOLLVE/sollve_vv Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D132855
-
chenglin.bi authored
CCMP/CCMN's second operator support const from 0 to 31. When the CCMP's second operator is in the range [-31, -1] we can replace it with CCMN to avoid extra mov. Fix: #57034 Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D135939
-
Guillaume Chatelet authored
This reverts commit 97216878.
-
Guillaume Chatelet authored
This reverts commit 7c9b8fa6.
-
Guillaume Chatelet authored
-
Nico Weber authored
Differential Revision: https://reviews.llvm.org/D135879
-
Aaron Ballman authored
This should address the issues found by: https://lab.llvm.org/buildbot/#/builders/139/builds/29568 https://lab.llvm.org/buildbot/#/builders/109/builds/48658
-
Prashant Kumar authored
f16 type support was missing in the math.erf op. Reviewed By: ezhulenev Differential Revision: https://reviews.llvm.org/D135770
-
Guillaume Chatelet authored
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms. Codegen can be checked here https://godbolt.org/z/x19zvE59v Differential Revision: https://reviews.llvm.org/D135134
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D135433
-
Timm Bäder authored
-
Timm Bäder authored
-
Aaron Ballman authored
This should fix the issue found by: https://lab.llvm.org/buildbot/#/builders/68/builds/41100
-
Guillaume Chatelet authored
This reverts commit 98bf836f.
-
Tobias Gysi authored
The revision imports the atomic operations using tablegen generated builders. Additionally, it moves their tests to the instructions.ll test file. Depends on D135880 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D135944
-
Guillaume Chatelet authored
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms. Codegen can be checked here https://godbolt.org/z/x19zvE59v Differential Revision: https://reviews.llvm.org/D135134
-
Aaron Ballman authored
The diagnostics engine is very smart about being passed a NamedDecl to print as part of a diagnostic; it gets the "right" form of the name, quotes it properly, etc. However, the result of using an unnamed tag declaration was to print '' instead of anything useful. This patch causes us to print the same information we'd have gotten if we had printed the type of the declaration rather than the name of it, as that's the most relevant information we can display. Differential Revision: https://reviews.llvm.org/D134813
-
Timm Bäder authored
Analogous to the bitAnd implementation, do the same for bitwise or. Differential Revision: https://reviews.llvm.org/D135361
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D135012
-
Tobias Gysi authored
The revision imports the shuffle vector operation using tablegen generated builders. Additionally, it moves its test to the instructions.ll test file. Depends on D135874 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D135880
-
Timm Bäder authored
-
Timm Bäder authored
It's never going to be used since it's only uninitialized if the function is invalid, but let's zero it for readbility of Function::dump().
-
Timm Bäder authored
-
Timm Bäder authored
-
Timm Bäder authored
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D134801
-