- Dec 13, 2022
-
-
Dmitry Preobrazhensky authored
Summary of changes: - Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205). - Enable VOP3 variants of dot2c/dot4c/dot8c instructions (https://reviews.llvm.org/D138494). - Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469). - Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900). - Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet). - Enable abs and neg modifiers for v_dot2c_f32_f16_dpp. - Minor corrections and improvements.
-
Haojian Wu authored
-
Daniel Grumberg authored
This is mainly adding an entry point to `SymbolGraphSerializer` at `serializeSingleSymbolSGF` and exposing the necessary data to make this possible. Additionaly there are some changes to how symbol kinds and path components are serialized to make the usage more ergonomic in `serializeSingleSymbolSGF`. On the libclang side this introduces APIs to: - create an APISet from a TU - dispose of an APISet - query an APISet for a single symbol SGF for a given USR. - generate a single symbol SGF for a given CXCursor, this only traverses the necessary AST nodes to construct the result as oppposed as going through the entire AST. Differential Revision: https://reviews.llvm.org/D139115
-
Nikita Popov authored
-
Dmitry Preobrazhensky authored
Summary of changes: - Enable VOP3 variants of dot2c/dot4c/dot8c instructions (https://reviews.llvm.org/D138494). - Enable abs and neg modifiers for v_dot2c_f32_f16_dpp. - Minor corrections and improvements.
-
Dmitry Preobrazhensky authored
Summary of changes: - Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205). - Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469). - Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900). - Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet). - Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783). - Enable image_gather4h (https://reviews.llvm.org/D130764). - Minor corrections and improvements.
-
Dmitry Preobrazhensky authored
Summary of changes: - Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205). - Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900). - Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet). - Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783). - Minor corrections and improvements.
-
Dmitry Preobrazhensky authored
Summary of changes: - Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205). - Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783). - Enable abs and neg modifiers for v_cndmask_b32_e64. - Minor corrections and improvements.
-
Nikita Popov authored
-
Denis Antrushin authored
Precommit few tests for the upcoming 'rematerialize derived pointers at uses' feature. Reviewed By: skatkov Differential Revision: https://reviews.llvm.org/D138911
-
Joshua Cao authored
Fol `X % Y -> X` when we can determine `X < Y` based on constant range information. Fixes https://github.com/llvm/llvm-project/issues/58408. Differential Revision: https://reviews.llvm.org/D138360
-
Daniel Woodworth authored
This change fixes a small bug in IRBuilderBase::CreateFDivFMF introduced by accident in rGf34dcf27 which caused the builder's default fast math flags to be used for the new fdiv instruction instead of the ones from the source instruction. It also adds unit testing for the CreateF*FMF family of functions to more easily catch similar bugs in the future. Differential Revision: https://reviews.llvm.org/D139583
-
Nikita Popov authored
This is largely just for the sake of completeness. For logical ops, this is mostly subsumed by foldSelectValueEquivalence() in a more generic way. The only exception is vector support, as select value equivalence folding currently doesn't support this for the case where the replacement does not simplify.
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Rainer Orth authored
When trying to debug some `compiler-rt` unittests, I initially had a hard time because - even in a `Debug` build one needs to set `COMPILER_RT_DEBUG` to get debugging info for some of the code and - even so the unittests used a hardcoded `-O2` which often makes debugging impossible. This patch addresses this by instead using `-O0` if `COMPILER_RT_DEBUG`. Changes relative to the previous commit: - Use `string(APPEND)` for `COMPILER_RT_TEST_COMPILER_CFLAGS`. - Omit `-O3` from `COMPILER_RT_TEST_COMPILER_CFLAGS` in non-debug builds for now. - Provide `__sanitizer::integral_constant<bool, true>::value` instantiation for `sanitizer_type_traits_test.cpp` in debug builds. - Disable subtests of `tsan/tests/unit/tsan_trace_test.cpp` that deadlock in debug builds. - `XFAIL` `tsan/Linux/check_memcpy.c` in debug builds. Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D91620
-
Nikita Popov authored
Add logical variants of vector tests.
-
Krasimir Georgiev authored
This reverts commit 3bfba672. Temporary revert since this potentially causes https://github.com/llvm/llvm-project/issues/59490.
-
Mehdi Amini authored
Fixes #59460
-
Martin Storsjö authored
This reverts commit 56fd846f. This commit regressed handling of functions with floats as arguments, reproducible e.g. like this: $ cat test.c double func(double f) { return f; } $ clang -target aarch64-windows -S -o - test.c -fno-asynchronous-unwind-tables func: sub sp, sp, #16 str x0, [sp, #8] ldr d0, [sp, #8] add sp, sp, #16 ret
-
Nikita Popov authored
If the and/or is logical and one of the operands only occurs on the RHS, we need to freeze it: https://alive2.llvm.org/ce/z/vuMuE_
-
Denis Antrushin authored
Extract `rematerializeChain()` lambda into static function. We'll need it in upcoming patch to RS4GC pass. There is small interface change: now reversal of `ChainToBase` is performed within this function, not outside. Still this is non-functional change. Reviewed By: skatkov Differential Revision: https://reviews.llvm.org/D138910
-
Nikita Popov authored
Adds logical variants of the commuted tests.
-
Fangrui Song authored
-
Haojian Wu authored
Per the LLVM code style, there should be no trailing `_` on the header guard name.
-
Corentin Jabot authored
Implement https://cplusplus.github.io/CWG/issues/2631.html. Immediate calls in default arguments and defaults members are not evaluated. Instead, we evaluate them when constructing a `CXXDefaultArgExpr`/`BuildCXXDefaultInitExpr`. The immediate calls are executed by doing a transform on the initializing expression. Note that lambdas are not considering subexpressions so we do not need to transform them. As a result of this patch, unused default member initializers are not considered odr-used, and errors about members binding to local variables in an outer scope only surface at the point where a constructor is defined. Reviewed By: aaron.ballman, #clang-language-wg Differential Revision: https://reviews.llvm.org/D136554
-
Reed authored
Before, an APInt with value 10 was created, whose width was the significand width. But 10 cannot fit in Float8E5M2's significand. Differential Revision: https://reviews.llvm.org/D138540
-
Nikita Popov authored
We need to freeze to avoid propagating a potentially poison upper bound (https://alive2.llvm.org/ce/z/MsD38k). This resolves the existing TODO in the code. Fixes https://github.com/llvm/llvm-project/issues/59484.
-
Mehdi Amini authored
Fixes #59462
-
Valentin Clement authored
When emboxing an entity to a polymorphic box, use the input type to compute the type code and element size as the box type is too generic. When reboxing a polymorphic box, get this information from the input box. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D139916
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Nikita Popov authored
This reverts commit a888825a. This changes the default output of UTC, and as such introduces spurious changes whenever existing tests are regenerated. I've indicated in https://reviews.llvm.org/D139006#3989954 how this can be implemented without causing test churn.
-
Fangrui Song authored
-
Corentin Jabot authored
Reviewed By: #clang-language-wg, aaron.ballman, tahonermann Differential Revision: https://reviews.llvm.org/D138861
-
esmeyi authored
Differential Revision: https://reviews.llvm.org/D139914
-
Mehdi Amini authored
-
Mehdi Amini authored
-