- Dec 27, 2022
-
-
Nikita Popov authored
Reapply with a fix for a failing debuginfo assignment tracking test. ----- Allow sinking stores where both operands are the same, don't require them to have an identical GEP in each block. This came up when migrating tests to opaque pointers, where zero-index GEPs are omitted.
-
Nikita Popov authored
Make sure these stores cannot be sunk, which might defeat the intent of the test.
-
Nikita Popov authored
I missed a test failure in the DebugInfo directory. This reverts commit 2c15b9d9. This reverts commit fb435e1c.
-
Nikita Popov authored
-
Nikita Popov authored
Allow sinking stores where both operands are the same, don't require them to have an identical GEP in each block. This came up when migrating tests to opaque pointers, where zero-index GEPs are omitted.
-
Nikita Popov authored
MergedLoadStoreMotion currently only handles the case where each store has it's own GEP. It fails to handle the case where the store argument is exactly the same.
-
Nikita Popov authored
These are tests for the MergeLoadStoreMotion pass, so name them accordingly.
-
Guillaume Chatelet authored
Now that a3d2c344773cc4fc95136fd67245880b34d8e335 has been submitted.
-
Guillaume Chatelet authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
serge-sans-paille authored
This avoids recomputing string length that is already known at compile time. It has a slight impact on preprocessing / compile time, see https://llvm-compile-time-tracker.com/compare.php?from=3f36d2d579d8b0e8824d9dd99bfa79f456858f88&to=e49640c507ddc6615b5e503144301c8e41f8f434&stat=instructions:u This a recommit of e953ae5b and the subsequent fixes caa71355 and 06b90e2e. The above patchset caused some version of GCC to take eons to compile clang/lib/Basic/Targets/AArch64.cpp, as spotted in aa171833. The fix is to make BuiltinInfo tables a compilation unit static variable, instead of a private static variable. Differential Revision: https://reviews.llvm.org/D139881
-
Guillaume Chatelet authored
This breaks aarch64 build. This reverts commit 32f4c3f1.
-
Guillaume Chatelet authored
-
eopXD authored
The naming here is strange since the value may still be updated. Reviewed By: kito-cheng, khchen Differential Revision: https://reviews.llvm.org/D140389
-
Shilei Tian authored
I think it's reasonable to upgrade to Python 3 for LIT test requirement because `lit` itself (`llvm/utils/lit/lit.py`) already switched to Python 3. In addition, LLVM already requires Python 3.6 to be the minimum version (https://llvm.org/docs/GettingStarted.html#software). Reviewed By: jdoerfert, jhuber6 Differential Revision: https://reviews.llvm.org/D139855
-
Max Kazantsev authored
-
Fangrui Song authored
for std::make_unsigned_t
-
Nikolas Klauser authored
Reviewed By: Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D140621
-
Kai Sasaki authored
-
Florian Hahn authored
Add and run VPlan transform to fold blocks with a single predecessor into the predecessor. This remove redundant blocks and addresses a TODO to replace special handling for the vector latch VPBB. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D139927
-
Roman Lebedev authored
[DAGCombine] `combineShuffleToZeroExtendVectorInReg()`: widen shuffle elements before trying to match We might have sunk a bitcast into shuffle, and now it might be operating on more fine-grained elements than what we'd match, so we must not be dependent on whatever the granularity the shuffle happened to be in, but transform it into the one canonical for us - with widest elements.
-
Roman Lebedev authored
-
Roman Lebedev authored
We don't have any reason to expect that the operand we will match is on any particular hand of the shuffle, so we should try both.
-
Roman Lebedev authored
The baseline legalization for `ISD::ZERO_EXTEND_VECTOR_INREG` (`VectorLegalizer::ExpandZERO_EXTEND_VECTOR_INREG`), blends-in the zeros, but as mentioned e.g. in b4bd0a40, there is no such thing for AArch64. So some of the shuffles that would be nicely lowered by `LowerVECTOR_SHUFFLE()`, e.g. into `ZIP1`, would now be unrecognizable after round-tripping through `ISD::ZERO_EXTEND_VECTOR_INREG` recognition & legalization. The most obvious solution is to just custom-lower `ISD::ZERO_EXTEND_VECTOR_INREG` as the `ZIP1`-with-zeros, like it would have been originally in that test case.
-
Roman Lebedev authored
Sometimes we end up with a shuffles in DAG that would be better represented as a `ISD::ZERO_EXTEND_VECTOR_INREG`, and a failure to do so causes suboptimal codegen in a number of cases, especially when we will then cast vector to scalar. I acknowledge, the test changes here are rather underwhelming, but as with all of codegen, it's always a yak shawing, and this is the most stripped down version of the patch that shows *some* effect without having insurmountable amount of fallout to deal with. The next change resolves this regression. The transformation will be extended in follow-ups.
-
Roman Lebedev authored
At least, they are equivalent to the `@vzipNoBlend`, which is lowered into zip1.
-
tlattner authored
Commit changes to the Code of Conduct that make it more clear regarding behavior outside of LLVM spaces that impact the safety of our community members. Discussion may be found here: https://discourse.llvm.org/t/code-of-conduct-changes-related-to-llvm-project-policy-changes/64197
-
Sanjay Patel authored
This was noted as a potential miscompile in the post-commit feedback for the patch that added this fold: d4493dd1
-
Sanjay Patel authored
I left a few of the existing undef tests in place for extra coverage and because one of those was noted as a miscompile in the post-commit feedback for d4493dd1, but we are transitioning to poison, so it is more valuable to test the expected IR going forward.
-
Michał Górny authored
Use `LINK_COMPONENTS` instead of manual `target_link_libraries` to link lit-cpuid to LLVM components. This ensures that dylib is used along with `LLVM_LINK_LLVM_DYLIB` rather than linking to component libraries that may not be installed. This fixes build failure on Gentoo after a dep on TargetParser component was added in f09cf34d. Differential Revision: https://reviews.llvm.org/D140671
-
Florian Hahn authored
This reverts commit 2656572d. It looks like CINT2017rate/502.gcc_r gets mis-compiled with LTO + PGO on AArch64 with function specialization.
-
Danila Malyutin authored
This transformation could've triggered a verifier assert if RegA and RegB were of different reg classes. Fix this by constraining as the comment for replaceRegWith suggests. Differential Revision: https://reviews.llvm.org/D140672
-
- Dec 26, 2022
-
-
Andrei Safronov authored
Add branch/jump/call/l32r instructions and fixups support. Add R_XTENSA_32/R_XTENSA_SLOT0_OP relocations in object files generation. Modify tests to support new instructions. Add tests for relocations and fixups. Differential Revision: https://reviews.llvm.org/D64836
-
Andrei Safronov authored
Differential Revision: https://reviews.llvm.org/D64835
-
Andrei Safronov authored
Add new subset of Core Instructions (not full yet). Add appropriate operands description, modify asm parser, printer and code emitter. Modify tests to support new instructions. Differential Revision: https://reviews.llvm.org/D64834
-
Andrei Safronov authored
Add printer for current instructions and operands subsets. Also add basic tests of the Xtensa instructions. Differential Revision: https://reviews.llvm.org/D64833
-
Andrei Safronov authored
Currently parse just described in *.td files Xtensa instructions and operands subsets. Differential Revision: https://reviews.llvm.org/D64832
-