- Apr 25, 2023
-
-
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
-
Andrew Gozillon authored
[Flang][OpenMP][Driver][MLIR] Port fopenmp-host-ir-file-path flag and add MLIR module attribute to proliferate to OpenMP IR lowering This patch ports the fopenmp-host-ir-file-path flag from Clang to Flang-new, this flag is added by the driver to the device pass when doing two phase compilation (device + host). This flag is then applied to the module when compiling during the OpenMP device phase. This file can then be utilised during lowering of the OpenMP dialect to LLVM-IR, which allows the device and host to maintain 1:1 mapping of OpenMP metadata for variables during lowering via the OpenMPIRBuilders loadOffloadInfoMetadata facilities (which is used for declare target and I believe target regions as well). Reviewer: awarzynski Differential Revision: https://reviews.llvm.org/D148038
-
Nikita Popov authored
Simplify the match in hoistMinMax and only fetch the preheader once.
-
Aaron Ballman authored
These projects are ones that are already known within the community as areas we would like to see improvements on.
-
Nikita Popov authored
This reverts commit 3e3e41b2. This appears to cause a stage2 miscompile of llvm-profgen.
-
Joseph Huber authored
Summary: These tools are used to query amdgpu-arch and nvptx-arch. We shouldn't print their errors to the console if they do fail.
-
Alexey Bataev authored
Need to relax the assertion check in the FindFirstInst lambda for GEP nodes with non-GEP instruction to avoid compiler crash.
-
NAKAMURA Takumi authored
-
John Brawn authored
This was supposed to be part of my previous commit, but I accidentally pushed an old version of the patch.
-