- May 07, 2022
-
-
David Green authored
This adds some extra costs for reverse shuffles under AArch64, filling in the i16/f16/i8 gaps in the cost model. Differential Revision: https://reviews.llvm.org/D124786
-
Florian Hahn authored
-
Louis Dionne authored
-
Martin Sebor authored
Add tests exercising the future enancement of folding library function calls with arguments involving subobjects such as elements of arrays or struct members.
-
Craig Topper authored
The VT passed in must match the type of LHS and RHS. Previously we only checked that the vectorness matched.
-
Nathan James authored
This method won't add a check if it isn't supported in the Contexts current LanguageOptions. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D124320
-
Craig Topper authored
Otherwise we have garbage in the upper bits that can affect the results of the UREM. Fixes PR55296. Differential Revision: https://reviews.llvm.org/D125076
-
Amaury Séchet authored
-
- May 06, 2022
-
-
Amaury Séchet authored
-
Daniil Dudkin authored
The code below causes flang to crash with an exception. After fixing the crash flang with an internal error "no symbol found for 'bar'" This change fixes all the issues. program name implicit none integer, parameter :: bar = 1 integer foo(bar) /bar*2/ end program name Reviewed By: kiranchandramohan, klausler Differential Revision: https://reviews.llvm.org/D124914 -
Joseph Huber authored
Currently we handle static libraries like any other object in the linker wrapper. However, this does not preserve the sematnics that dictate static libraries should be lazily loaded as the symbols are needed. This allows us to ignore linking in architectures that are not used by the main application being compiled. This patch adds the basic support for detecting if a file came from a static library, and only including it in the link job if it's used by other object files. This patch only adds the basic support, to be more correct we should check the symbols and only inclue the library if the link job contains symbols that are needed. Ideally we could just put this on the linker itself, but nvlink doesn't seem to support `.a` files. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D125092
-
Sam McCall authored
This reverts commit 076dd0a7. http://45.33.8.238/macm1/34776/step_9.txt
-
Louis Dionne authored
-
Nikita Popov authored
When threading the icmp over the select, check whether the condition can be folded when taking into account the select condition.
-
Nikita Popov authored
-
Sam McCall authored
-
Sam McCall authored
-
Louis Dionne authored
-
Louis Dionne authored
-
Fangrui Song authored
Placing a non-SHT_NOBITS input section in an output section specified with (NOLOAD) is fishy but used by some projects. D118840 changed the output type to SHT_PROGBITS, but using the specified type seems to make more sense and improve GNU ld compatibility: `(NOLOAD)` seems to change the output section type regardless of input. I think we should keep the current type mismatch warning as it does indicate an error-prone usage. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D125074
-
Simon Pilgrim authored
We were missing coverage for vcmpps imm, vreg, vreg, mreg {mreg} patterns -
Simon Pilgrim authored
-
Sam McCall authored
This prepares to replace the implementation of EXPECT_[UN]AVAILABLE with something more efficient.
-
Sam McCall authored
-
Sam McCall authored
-
Sam McCall authored
(Followup from 40c13720) Differential Revision: https://reviews.llvm.org/D125012
-
PeixinQiao authored
As Fortran 2018 states, in each where-assignment-stmt, the mask-expr and the variable being defined shall be arrays of the same shape. The previous check does not consider checking if it is an array. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D125022
-
PeixinQiao authored
As Fortran 2018 15.5.2.9 point 2, the actual argument and dummy argument have the same type and type parameters and an external function with assumed character length may be associated with a dummy argument with explicit character length. As Fortran 2018 15.5.2.9 point 7, if an external procedure is used as an actual argument, it can be explicitly declared to have the EXTERNAL attribute. This supports the external procedure passed as actual argument with implicit character type, either explicit character length or assumed character length. Reviewed By: Jean Perier, klausler Differential Revision: https://reviews.llvm.org/D124345
-
Kadir Cetinkaya authored
-
PeixinQiao authored
For arrays without a constant interior or arrays of character with dynamic length arrays, the data types are converted to a pointer to the element type, so the scale size of the constant extents needs to be counted. The previous AllocaOp conversion does not consider the arrays of character with dynamic length arrays, and the previous AllocMemOp conversion does not consider arrays without a constant interior. This fixes them and refactors the code so that it can be shared. Also add the test cases. Reviewed By: Jean Perier Differential Revision: https://reviews.llvm.org/D124766
-
Nikita Popov authored
Try to push an icmp into a select even if the icmp operand isn't constant - perform a generic SimplifyICmpInst instead. This doesn't appear to impact compile-time much, and forming logical and/or is generally profitable, as we have very good support for them.
-
Nikita Popov authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Nico Weber authored
This reverts commit 4af9392e. The new test fails on several machines (including some bots), see https://reviews.llvm.org/D124950
-
Nico Weber authored
This reverts commit 6ca1df61. Prerequisite for reverting 4af9392e.
-
Louis Dionne authored
* https://wg21.link/P0943 * https://eel.is/c++draft/stdatomic.h.syn This is a re-application of 5d1c1a24, which was reverted in 987c7f40 because it broke the LLDB build. Co-authored-by:
Marek Kurdej <marek.kurdej@gmail.com> Differential Revision: https://reviews.llvm.org/D97044
-
Sam McCall authored
We were counting the number of bytes allocated, but under asan there's extra redzone bytes by default. Disable this.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-