- Nov 20, 2023
-
-
Aiden Grossman authored
This pass isn't used anywhere and thus has no test coverage. Remove it for these reasons. For whatever reason, there was no entry in `llvm/include/llvm/LinkAllPasses.h` to remove.
-
Aiden Grossman authored
This pass isn't used anywhere and thus has no test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This legacy pass isn't used anywhere and there is no test coverage, so at this point it should be removed.
-
Cullen Rhodes authored
This patch extends TransferReadDropUnitDimsPattern to support dropping unit dims from partially-static memrefs, for example: %v = vector.transfer_read %base[%c0, %c0], %pad {in_bounds = [true, true]} : memref<?x1xi8, strided<[?, ?], offset: ?>>, vector<[16]x1xi8> Is rewritten as: %dim0 = memref.dim %base, %c0 : memref<?x1xi8, strided<[?, ?], offset: ?>> %subview = memref.subview %base[0, 0] [%dim0, 1] [1, 1] : memref<?x1xi8, strided<[?, ?], offset: ?>> to memref<?xi8, #map1> %v = vector.transfer_read %subview[%c0], %pad {in_bounds = [true]} : memref<?xi8, #map1>, vector<[16]xi8> Scalable vectors are now also supported, the scalable dims were being dropped when creating the rank-reduced vector type. The xfer op can also have a mask of type 'vector.create_mask', which gets rewritten as long as the mask of the unit dim is a constant of 1. -
Matthew Devereau authored
-
Serge Pavlov authored
The change implements lowering of `get_fpenv`, `set_fpenv` and `reset_fpenv`. Differential Revision: https://reviews.llvm.org/D81843
-
Kai Luo authored
-
Qiu Chaofan authored
PowerPC AIX backend does not support float128 at all. Diagnose even when specifying -mfloat128 to avoid backend crash. --------- Co-authored-by:Kai Luo <gluokai@gmail.com>
-
Muhammad Omair Javaid authored
This reverts commit e2fb816c. It breaks TestLinuxCore.py on lldb-*-windows. See buildbot below: https://lab.llvm.org/buildbot/#/builders/219/builds/7014
-
MaheshRavishankar authored
-
Luke Lau authored
It's always guaranteed to be valid since we compute it ourselves from MI. This should simplify an upcoming change in #72352
-
Luke Lau authored
The property we're explicitly looking for is whether or not MI only cares about VL zeroness and not VL itself, so we can just use DemandedFields for this. This should simplify an upcoming change in #72352
-
HaohaiWen authored
If there are two 'or' instructions concat variables in opposite order and the first 'or' dominates the second one, the second 'or' can be optimized to fshl to rotate shift first 'or'. This can eliminate an shl and expose more optimization opportunity for bswap/bitreverse.
-
Piyou Chen authored
InitUndef pass need replace the implicit def with Undef pseudo, but current remove method will make noreg2implicit borken. This patch postpone the removal until all basicblock be processed.
-
Bill Wendling authored
The code that calculates the flexible array member size is big enough to warrant its own method.
-
Kai Luo authored
Some subtargets of PPC don't support `isel` instruction, early-ifcvt should not insert this instruction.
-
Jonathan Thackray authored
-
Owen Pan authored
Also fixed some existing test cases. Fixed #57305. Fixed #58251.
-
Owen Pan authored
Fixed #72751.
-
Owen Pan authored
Fixed #72785.
-
Owen Pan authored
-
Martin Storsjö authored
This reverts commit 4323da92. This broke building libffi for ARM on Windows (and probably Darwin), where one extern function intentionally falls through to another one, while sharing one CFI region. As long as one isn't using .subsections_via_symbols on MachO, this probably shouldn't be a hard error. Secondly, the tested pattern only produces an error on MachO and COFF targets, but not for ELF, making the error case even more inconsistent. Reverting this commit for now, to figure out the best way forward.
-
Craig Topper authored
This matches what PowerPC and X86 do.
-
Fangrui Song authored
Some tests for the obsoleted NaCl misuse the -e for linking.
-
Maksim Levental authored
-
Noah Goldstein authored
Three transforms (all commutative): https://alive2.llvm.org/ce/z/Bc-nh4 Closes #71309
-
Noah Goldstein authored
-
Noah Goldstein authored
Recommit "[DAGCombiner] Transform `(icmp eq/ne (and X,C0),(shift X,C1))` to use rotate or to getter constants." (2nd Try) Added missing check that the mask and shift amount added up to correct bitwidth as well as test cases for the bug. Closes #71729
-
Noah Goldstein authored
-
Noah Goldstein authored
This combine was previously adding instruction in some cases (see the tests). Closes #72767
-
Noah Goldstein authored
-
Yingwei Zheng authored
Alive2: https://alive2.llvm.org/ce/z/gqeaVo Related patch: https://github.com/llvm/llvm-project/commit/31d219d2997fed1b7dc97e0adf170d5aaf65883e
-
- Nov 19, 2023
-
-
philnik777 authored
This allows us to also check the constraints during constant evaluation.
-
Bill Wendling authored
This reverts commit 99ee2db1. It's causing ICEs in the ARM tests. See the comment here: https://github.com/llvm/llvm-project/commit/99ee2db198d86f685bcb07a1495a7115ffc31d7e
-
Brad Smith authored
-
Aiden Grossman authored
I swore I copied the if statement from somewhere, but whatever I did to it while moving it over dropped one of the equals signs. This patch fixes that so the action will actually work properly.
-
Aiden Grossman authored
Currently, the scorecard action runs on forks. This means that every recent fork will be periodically running a job that doesn't really make a lot of sense to run outside the main monorepo. This patch fixes that by restricting the job to only run in the monorepo.
-
Phoebe Wang authored
-
Jie Fu authored
/llvm-project/clang/lib/CodeGen/CGObjCGNU.cpp:3674:15: error: variable 'selStructPtrTy' set but not used [-Werror,-Wunused-but-set-variable] llvm::Type *selStructPtrTy = SelectorTy; ^ 1 error generated.
-