- Apr 25, 2023
-
-
Joseph Huber authored
This patch adds extra intrinsics for the GPU. Some of these are unused for now but will be used later. We use these currently to update the `RPC` handling. Currently, every thread can update the RPC client, which isn't correct. This patch adds code neccesary to allow a single thread to perfrom the write while the others wait. Feedback is welcome for the naming of these functions. I'm copying the OpenMP nomenclature where we call an AMD `wavefront` or NVIDIA `warp` a `lane`. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D148810
-
Louis Dionne authored
We don't support the LLVM_ENABLE_PROJECTS=libcxx build anymore (and have not for over a year), so it should be fine to remove this workaround now. Differential Revision: https://reviews.llvm.org/D148945
-
Slava Zakharin authored
Differential Revision: https://reviews.llvm.org/D149097
-
Tomasz Kuchta authored
Reviewed-by: browneee Differential Revision: https://reviews.llvm.org/D141389
-
Aiden Grossman authored
This patch modifies the commands under the Bootstrap builds section so that they include the -DLLVM_ENABLE_PROJECTS flag with the value "clang" so that the Clang build will actually get picked up. Without this patch they error out as the CLANG_BOOTSTRAP_PASSTHROUGH variable is processed in /clang/CMakeLists.txt which isn't picked up without the LLVM_ENABLE_PROJECTS variable being set appropriately. This patch also changes any remaining dangling <path to source> references to <path to source>/llvm to better match the rest of the file. Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D148451
-
Pavel Kosov authored
As discussed in https://reviews.llvm.org/D96498, the correct macro to check together with _MSC_VER is _M_X64. Testing for _MSC_VER with __x86_64__ made tests fail on Windows in https://reviews.llvm.org/D146301. Additionally, this commit replaces a few calls to llvm_unreachable() with report_fatal_error() because it is actually reached even on Linux/i686, causing obscure segfaults when expanded to __builtin_unreachable(). ~~ Huawei RRI, OS Lab Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D147926
-
Haowei Wu authored
When using compiler caching program like ccache, there is no point to use them on external projects or multi-stage clang builds. As these builds uses fresh from source code toolchain and will pollute the build cache. If a compiler launcher is still required, a user can explicity define `CMAKE_C_COMPILER_LAUNCHER` and `CMAKE_CXX_COMPILER_LAUNCHER` in `CLANG_BOOTSTRAP_PASSTHROUGH` and `LLVM_EXTERNAL_PROJECT_PASSTHROUGH` flags to enable compiler launcher in these builds. Differential Revision: https://reviews.llvm.org/D144603
-
Ádám Kallai authored
Updated the regular expression in order to match '.exe' suffix, if these Flang tests are running on Windows. Differential Revision: https://reviews.llvm.org/D148211
-
Craig Topper authored
Round better matches the instructions this is used for. Do the same for F16 and F64 as well as the Read classes.
-
Natalia Glagoleva authored
MSVC compiler for loop collapse (rectangular and non-rectangular loops)" Fixes a GCC build issue (unallowed typename keyword use) in and restores https://reviews.llvm.org/D148393 Differential Revision: https://reviews.llvm.org/D149010
-
Job Noorman authored
The byte offsets in the output of 'cmp' start from 1, not from 0 as the current parser assumes. This caused mismatched bytes to sometimes be attributed to the wrong section. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D149046
-
Jacques Pienaar authored
Tool to help generate dialect bytecode Attribute & Type reader/writing. Show usage by flipping builtin dialect. It helps reduce boilerplate when writing dialect bytecode attribute and type readers/writers. It is not an attempt at a generic spec mechanism but rather practically focussing on boilerplate reduction while also considering that it need not be the only in memory format and make it relatively easy to change. There should be some cleanup in follow up as we expand to more dialects. Differential Revision: https://reviews.llvm.org/D144820
-
Craig Topper authored
If a target hasn't optimized scalar to vector transfers for x0, using an immediate may be more efficient.
-
Job Noorman authored
Since D148847, many tests are detected as being unsupported. This is caused by BOLT_TARGETS_TO_BUILD being ;-separated whereas the previously used TARGETS_TO_BUILD is space-separated. This patch fixes this by creating config.targets lit.cfg.py by splitting on ';'. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D149026
-
Matt Arsenault authored
Copy handling from CannotBeOrderedLessThanZero
-
Matt Arsenault authored
Add tests for converting is.fpclass > or < 0 to fcmp with 0.
-
Matt Arsenault authored
-
Matt Arsenault authored
The fabs utility functions have the opposite purpose and probably should not be a general utility.
-
Matt Arsenault authored
-
Quinn Dawkins authored
This pattern is useful for SPIR-V to unroll to a supported vector size before later lowerings. The unrolling pattern is closer to an elementwise op than the transfer ops because the index values from which to extract elements are captured by the index vector and thus there is no need to update the base offsets when unrolling gather. Differential Revision: https://reviews.llvm.org/D149066
-
Jakub Kuderski authored
Also fix a typo in the surrounding code. Fixes: https://github.com/llvm/llvm-project/issues/62318 Reviewed By: qedawkins Differential Revision: https://reviews.llvm.org/D149069
-
Hanhan Wang authored
Reviewed By: chelini, qcolombet Differential Revision: https://reviews.llvm.org/D148845
-
Valentin Clement authored
Add lowering for non constant lower and upper bounds in array section. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D148840
-
Fangrui Song authored
D38236 moves a redundant compare instruction from the loop body to the preheader. It has a bug: when `MBB1 == &MBB2`, there may be only one compare instruction in the loop. The code will lift the compare instruction to the preheader, failing to account for the change of the compare result in a tail call, leading to a miscompile. Suppress the compare elimination to fix https://github.com/llvm/llvm-project/issues/62294 Reviewed By: #powerpc, nemanjai Differential Revision: https://reviews.llvm.org/D149030
-
Florian Hahn authored
This helps to clarify checks in multiple places. Suggested as cleanup in D147892.
-
Min-Yih Hsu authored
- Add the `-m68881` flag - Add floating point feature detection - Macro definitions Differential Revision: https://reviews.llvm.org/D147481
-
LLVM GN Syncbot authored
-
max authored
Differential Revision: https://reviews.llvm.org/D148816
-
serge-sans-paille authored
Original patch (50b2a113) ignored the fact that -ftrivial-auto-var-init could affect function parameters with the sret attribute. Just do not move instruction that don't affect alloca. Also add missing test case for volatile instruction. Differential Revision: https://reviews.llvm.org/D148507
-
Michael Buch authored
Requires C++20 support (at least for the spaceship operator). Seems to work back to Clang-11
-
- Apr 24, 2023
-
-
Aaron Ballman authored
The </li> tag was missing for this entry.
-
Timm Bäder authored
The given expression is not necessarily usable to obtain a type for, so we can't use it to get the floating point semantics. Pass a QualType instead, which we can use--and classify() that here.
-
Aaron Ballman authored
This project doesn't really relate to improving Clang itself and it contained stale suggestions like working on code modification functionality in clang-format.
-
Aaron Ballman authored
Work already began on this project, so this updates the wording to discuss clang-doc specifically.
-
Aaron Ballman authored
This adds open projects for updating the status of our C conformance, DR conformance for both C and C++, and improving build times.
-
Maryam Moghadas authored
This patch adds a new test that includes a vperm instruction with xxswapd as its vector operand on little-endian Power8. The test demonstrates the constant pool for the mask operand, which is intended to indicate the optimization of vperm and the modification of the constant pool in subsequent patches. Reviewed By: amyk Differential Revision: https://reviews.llvm.org/D148942
-
Ashay Rane authored
A line in the demangling code for float literals dereferences the `.end()` iterator, which causes the Windows debug build of llvm-cxxfilt to crash. The failure can be reproduced by passing the string `_Z5dummyIXtl8wrapper1IdEtlNS1_Ut_Edi9RightNametlNS2_Ut_ELd405ec00000000000EEEEEEvv` to `llvm-cxxfilt -n`. This patch rewrites the code to use the `.size()` member of the string_view type to avoid dereferencing past the buffer. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D149061
-
Simon Pilgrim authored
Followup to D149052, it wasn't worthwhile to add general support for unary opcodes
-
Florian Hahn authored
Clean up some unnecessary includes from VPlan.h, which is imported in multiple files.
-
max authored
Differential Revision: https://reviews.llvm.org/D148816
-