- Oct 18, 2022
-
-
Thomas Symalla authored
This commit adds a few tests which are used to test the codegen of nested v_bfi instructions. These instruction sequences are being generated when using the canonical form for bitfieldInsert and having the sequences being transformed by SimplifyDemandedBits. This is a pre-commit for a change which enables the backend to lower these instruction sequences into v_bfi instructions.
-
Kevin P. Neal authored
This should eliminate some ambiguous grammer that tripped me up when reviewing D136097.
-
Nikita Popov authored
-
Krzysztof Parzyszek authored
The carry bit from an intermediate addition was not properly propagated. For example mulhs(7fffffff, 7fffffff) was evaluated as 3ffeffff, while the correct result is 3fffffff.
-
Alexey Bataev authored
-
Qiongsi Wu authored
On AIX, `strict-dwarf` defaults to `true`. This patch implement this default behaviour. Additionally, it adds debug tuning tests. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D135908
-
bipmis authored
-
Guillaume Chatelet authored
This fixes breakage introduced in a786096f
-
uabkaka authored
When SimplifyLibCalls fail to optimize printf and sprintf it add NoUndef/NonNull/Dereferenceable attributes. This patch add the same attributes if SimplifyLibCalls optimize printf/sprintf into the integer only iprintf/siprintf. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D136140
-
Guillaume Chatelet authored
-
Guillaume Chatelet authored
-
Sanjay Patel authored
-
Alexey Bataev authored
-
Florian Hahn authored
When unrolling, the exit values in LCSSA phis will get updated. Invalidate cached SCEV values for those phis in case SCEV looked through a exit phi. Fixes #58340.
-
Stefan Pintilie authored
This patch only adds a single test for Power 10 features.
-
Jialun Hu authored
The parser assumes that the lexer never emits coloncolon token for C code, but this assumption no longer holds in C2x attribute namespaces. As a result, stray coloncolon tokens out of attributes cause assertion failures and hangs in release build, which this patch tries to handle. Crash input minimal example: `T n::v` Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D133248
-
Florian Hahn authored
Test for #58340.
-
Aaron Ballman authored
Office hours have gone so well for me that I've had requests to add a second time slot which is later in the day so that folks on the US west coast have a more reasonable time to meet. So now meeting at 10am and 2pm on the 2nd Monday of each month.
-
Ties Stuij authored
GCC behavior regarding defining __SOFTFP__ when (implicitly) specifying -mfloat-abi=softfp: - compile without (implicit) FP: define __SOFTFP__ - compile with (implicit) FP: don't define __SOFTFP__ Currently Clang doesn't define __SOFTFP__ when softfp is specified, either with or without FP. This patch brings Clang in line with GCC behavior. This was raised by itaig1 over on Github: https://github.com/llvm/llvm-project/issues/55755 Reviewed By: pratlucas Differential Revision: https://reviews.llvm.org/D135680
-
Joseph Huber authored
In OpenMP target offloading an in other offloading languages, we maintain a difference between device functions and kernel functions. Kernel functions must be visible to the host and act as the entry point to the target device. Device functions however cannot be called directly by the host and must be called by a kernel function. Currently, we make all definitions on the device protected by default. Because device functions cannot be called or used by the host they should have hidden visibility. This allows for the definitions to be better optimized via LTO or other passes. This patch marks every device function in the AST as having `hidden` visibility. The kernel function is generated later at code-gen and we set its visibility explicitly so it should not be affected. This prevents the user from overriding the visibility, but since the user can't do anything with these symbols anyway there is no point exporting them right now. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D136111
-
Nikita Popov authored
The size of the m_hwp_regs array should match the default value of m_max_hwp_supported. This ensures that no out-of-bounds accesses occur, even if the array is accessed prior to a call to ReadHardwareDebugInfo(). Fixes https://github.com/llvm/llvm-project/issues/54520, see also there for additional background. Differential Revision: https://reviews.llvm.org/D136144
-
Erich Keane authored
Reported as it showed up as a constriants failure after the deferred instantiation patch, we were checking constraints TWICE after overload resolution. The first is during overload resolution, the second is when diagnosing a use. This patch modifies DiagnoseUseOfDecl to skip the trailing requires clause check in some cases. First, of course, after choosing a candidate after overload resolution. The second is when evaluating a shadow using constructor, which had its constraints checked when picking a constructor (as this is ALWAYS an overload situation!). Differential Revision: https://reviews.llvm.org/D135772
-
Jun Zhang authored
If the type is dependent, we should just discard it and not checking its alignment as it doesn't exisit yet. Fixes https://github.com/llvm/llvm-project/issues/58370 Differential Revision: https://reviews.llvm.org/D136018
-
Anton Afanasyev authored
This reverts commit 3112cf3b. Test breakage: https://lab.llvm.org/buildbot/#/builders/16/builds/36631
-
Andrew Ng authored
Using a Python script instead of the various shell commands means that it is now possible to cross compile LLVM for Linux on Windows. Differential Revision: https://reviews.llvm.org/D136092
-
Weining Lu authored
Fix invalid RISCV-like MI being emitted for performing the `not` operation: the LoongArch `xori` zero-extends the immediate, hence is not equivalent to RISCV `xori`. The LoongArch `not` is a `nor` with zero. Differential Revision: https://reviews.llvm.org/D136021
-
Jannik Silvanus authored
As discussed in D135594, remove superfluous inline attributes, and remove top-level consts on function arguments.
-
Anton Sidorenko authored
Initial implementation to match basic FP reassociation patterns. Differential Revision: https://reviews.llvm.org/D135264
-
Carlos Alberto Enciso authored
The tool used the 'old' LLVM build information (LLVMBuild.txt), which caused linking errors in: https://lab.llvm.org/buildbot/#/builders/177/builds/10125 https://lab.llvm.org/buildbot/#/builders/196/builds/19699 Update the CMake configuration to support the new LLVM build system that uses only CMakeLists.txt. Reviewed By: jryans Differential Revision: https://reviews.llvm.org/D136159
-
Ben Dunbobbin authored
A reference to __real_foo should trigger archive extraction of the input file that defines foo, otherwise a link using --wrap=foo might fail to link with an undefined reference to foo. This matches bfd linker behaviour. Differential Revision: https://reviews.llvm.org/D135897
-
Andrew Ng authored
Differential Revision: https://reviews.llvm.org/D136065
-
chenglin.bi authored
-
Nico Weber authored
-
Valentin Clement authored
Binding tables are needed to perform the fir.dispatch code generation. The binding tables are defined as fir.global from the initial lowering. This patch adds the ability to reconstruct the binding tables information and store the procedure name and binding index for later use by the fir.dispatch code generation. Tests will come with follow up patch that makes full use of this information. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D136141
-
Anton Sidorenko authored
-
Jean Perier authored
mapSymbolAttributes currently has a lot of very similar code for each kind of explicit shape and scalar symbols. Refactor it so that the change to lower symbols with fir.declare can be added in centralized places instead of being scattered. This is a preparation patch and fir.declare is not yet added. Differential Revision: https://reviews.llvm.org/D136061
-
Daniel Kiss authored
Make MTE intrinsics available in function scope too. Followup from D133359. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D136062
-
Martin Storsjö authored
812ad216 changed the signature of RegisterValue::SetFromMemoryData.
-
Daniel Kiss authored
This reverts commit 09aaf190.
-
Daniel Kiss authored
Make MTE intrinsics available in function scope too. Followup from D133359. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D136062
-