- Jul 05, 2022
-
-
Eric Li authored
Treat `std::nullptr_t` as a regular scalar type to avoid tripping assertions when analyzing code that uses `std::nullptr_t`. Differential Revision: https://reviews.llvm.org/D129097
-
Joe Nash authored
We form VOPD instructions in the GCNCreateVOPD pass by combining back-to-back component instructions. There are strict register constraints for creating a legal VOPD, namely that the matching operands (e.g. src0x and src0y, src1x and src1y) must be in different register banks. We add a PostRA scheduler mutation to put possible VOPD components back-to-back. Depends on D128442, D128270 Reviewed By: #amdgpu, rampitec Differential Revision: https://reviews.llvm.org/D128656
-
Haojian Wu authored
-
Vladislav Khmelevsky authored
Wrong mask was used to get branch instruction imm value. Differential Revision: https://reviews.llvm.org/D128740
-
Nikita Popov authored
When trying to prove an implied condition on a phi by proving it for all incoming values, we need to be careful about values coming from a backedge, as these may refer to a previous loop iteration. A variant of this issue was fixed in D101829, but the dominance condition used there isn't quite right: It checks that the value dominates the incoming block, which doesn't exclude backedges (values defined in a loop will usually dominate the loop latch, which is the incoming block of the backedge). Instead, we should be checking for domination of the phi block. Any values defined inside the loop will not dominate the loop header phi. Fixes https://github.com/llvm/llvm-project/issues/56242. Differential Revision: https://reviews.llvm.org/D128640
-
Andi-Bogdan Postelnicu authored
This patch was pushed for calixte@mozilla.com - this function (Windows only) is called when gcda are dumped on disk; - according to its documentation, it's only useful in case of hard failures, this is highly improbable; - it drastically decreases the time in the tests and consequently it avoids timeouts when we use slow disks. Differential Revision: https://reviews.llvm.org/D129128
-
Haojian Wu authored
Differential Revision: https://reviews.llvm.org/D129074
-
Ivan Kosarev authored
Tell the matcher what we are looking for instead of matching everything and then discarding the result if doesn't fit. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D128171
-
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
-