- Jul 05, 2022
-
-
Ivan Kosarev authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D128836
-
Sam McCall authored
The last remaining uses are in tests/test builders. Replace with a builder struct. Differential Revision: https://reviews.llvm.org/D129093
-
Nikita Popov authored
If there are multiple predecessors that have the same condition value (and thus same "real destination"), these were previously handled by copying the threaded block for each predecessor. Instead, we can reuse one block for all of them. This makes the behavior of SimplifyCFG's jump threading match that of the actual JumpThreading pass. This also avoids the infinite combine loop reported in: https://reviews.llvm.org/D124159#3624387
-
Florian Hahn authored
-
Nikita Popov authored
A case where multiple predecessors can be threaded over the same edge, with a phi node in the threaded block.
-
Tobias Hieta authored
When doing CTU analysis setup you pre-compile .cpp to .ast and then you run clang-extdef-mapping on the .cpp file as well. This is a pretty slow process since we have to recompile the file each time. With this patch you can now run clang-extdef-mapping directly on the .ast file. That saves a lot of time. I tried this on llvm/lib/AsmParser/Parser.cpp and running extdef-mapping on the .cpp file took 5.4s on my machine. While running it on the .ast file it took 2s. This can save a lot of time for the setup phase of CTU analysis. Reviewed By: martong Differential Revision: https://reviews.llvm.org/D128704
-
Thomas Symalla authored
-
Muhammad Omair Javaid authored
-
Groverkss authored
This patch extends the affine parser to allow affine constraints with `<=`. This is useful in writing unittests for Presburger library and test in general. The internal storage and printing of IntegerSet is still in the original format. Reviewed By: bondhugula Differential Revision: https://reviews.llvm.org/D129046
-
Alexey Bader authored
-
Muhammad Omair Javaid authored
This test has some race condition which is making it hang on LLDB Arm/AArch64 Linux buildbot. I am marking it as skipped until we investigate whats going wrong.
-
Kazushi (Jam) Marukawa authored
Restructure the current implementation of eliminateFrameIndex function in order to support more instructions. Reviewed By: efocht Differential Revision: https://reviews.llvm.org/D129034
-
Jun Zhang authored
Signed-off-by:Jun Zhang <jun@junz.org>
-
serge-sans-paille authored
-
Kazushi (Jam) Marukawa authored
This reverts commit 98e52e8b.
-
Kazushi (Jam) Marukawa authored
Restructure the current implementation of eliminateFrameIndex function in order to support more instructions. Reviewed By: efocht Differential Revision: https://reviews.llvm.org/D129034
-
Jun Zhang authored
This reverts commit 6956840b . Try to use `XFAIL: windows-msvc || ps4` to disable all unsupported targets. Signed-off-by:
Jun Zhang <jun@junz.org>
-
Muhammad Omair Javaid authored
This test is causing some trouble with LLDB Arm/AArch64 Linux buildbot. I am disabling is temporarily to make buildbot green.
-
Archibald Elliott authored
This patch adds support for Arm's Cortex-M85 CPU. The Cortex-M85 CPU is an Arm v8.1m Mainline CPU, with optional support for MVE and PACBTI, both of which are enabled by default. Parts have been coauthored by by Mark Murray, Alexandros Lamprineas and David Green. Differential Revision: https://reviews.llvm.org/D128415
-
Yi Kong authored
Force -fuse-ld option, as some other tests in the same file do.
-
Sven van Haastregt authored
These are not mentioned in the OpenCL C Specification nor in the OpenCL Extension Specification. Differential Revision: https://reviews.llvm.org/D128436
-
Florian Hahn authored
Test for #55505.
-
Chenbing Zheng authored
In D95959, the improve analysis for "C >> X" broken the fold ((%x & C) == 0) --> %x u< (-C) iff (-C) is power of two. It simplifies C, but fails to satisfy the fold condition. This patch try to restore C before the fold. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D128790
-
Peter Waller authored
Differential Revision: https://reviews.llvm.org/D129080
-
Chenbing Zheng authored
Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D129103
-
Nico Weber authored
-
Kaining Zhong authored
This fixes https://github.com/llvm/llvm-project/issues/50114 where lldb/mac can't load object files from thin archives. This patch allows lldb to identify thin archives, and load object files contained in them. Differential Revision: https://reviews.llvm.org/D126464
-
Chenbing Zheng authored
-
David Sherwood authored
This patch adds new the following SME intrinsics: @llvm.aarch64.sme.addva @llvm.aarch64.sme.addha Differential Revision: https://reviews.llvm.org/D127861
-
Ben Dunbobbin authored
Add FORCE_LLD_DIAGNOSTICS_CRASH inspired by the existing FORCE_CLANG_DIAGNOSTICS_CRASH. This is particularly useful for people customizing LLD as they may want to modify the crash reporting behavior. Differential Revision: https://reviews.llvm.org/D128195
-
Florian Hahn authored
For scalable VFs, the minimum assumed vscale needs to be included in the cost-computation, otherwise a smaller VF may be used for RT check cost computation than was used for earlier cost computations. Fixes a RISCV test failing with UBSan due to both scalar and vector loops having the same cost.
-
Nicolas Vasilache authored
ParallelInsertSlice behaves similarly to tensor::InsertSliceOp in its rank-reducing properties. This revision extends rank-reducing rewrite behavior and reuses most of the existing implementation. Differential Revision: https://reviews.llvm.org/D129091
-
Manuel Klimek authored
-
Nikolas Klauser authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D128646
-
Nikita Popov authored
This reverts commit 19a1e20b. Clang crashes while linking bullet from llvm-test-suite in ReleaseLTO-g cmake configuration.
-
Jean Perier authored
When addressing a substring of a character array, codegen emits two GEPs: one for to compute the address of the base element, and a second one to address the first characters from that element. The first GEP still returns the LLVM array type (if the FIR array type could be translated to an array type. Therefore) so zero indexes must be added to the second GEP in this case to cover for the Fortran array dimensions before inserting the susbtring offset index. Surprisingly, the previous code worked ok when MLIR emits none opaque pointers. But with opaque pointers, the two GEPs are folded in an invalid GEP where the substring offset becomes an offset for the outer array dimension. Note that I tried to fix the issue by modifying the first GEP to return the element type, but this still gave bad results (here something might be wrong with opaque pointer in MLIR or LLVM). Differential Revision: https://reviews.llvm.org/D129079
-
serge-sans-paille authored
Properly checks enclosing DeclContext, and add the related test case. It would be great to be able to use Sema to check conflicting scopes, but that's not something clang-tidy seems to be able to do :-/ Fix #56221 Differential Revision: https://reviews.llvm.org/D128715
-
Craig Topper authored
Shift amounts should never be 0 or more than bitwidth - 1.
-
Craig Topper authored
-