- Jan 31, 2023
-
-
Adrian Kuegel authored
walk() skips identical sub-attributes. Adjust the unit test to show this. Differential Revision: https://reviews.llvm.org/D142956
-
Siva Chandra Reddy authored
-
Petr Hosek authored
This is now supported. Differential Revision: https://reviews.llvm.org/D142917
-
Siva Chandra Reddy authored
It currently renamed to "llvmlibc" under the runtimes/boostrap build. This prevents us from making a full libc build. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D142919
-
Adrian Kuegel authored
Found by ClangTidyLegacy check.
-
Kadir Cetinkaya authored
We are performing this filtering due to having unix style file paths in certain tests. Hence we're actually trying to filter based on host platform and not the target-triple LLVM is using. 2493a701 introduced filtering based on host platform already, so we can get rid of target-triple based filtering now.
-
River Riddle authored
It's much cleaner and simpler to drive wacky configs via the AttrTypeSubElementHandler interface, instead of override.
-
Max Kazantsev authored
When guards are represented as widenable branches, there is a tricky situation when the branch stays in loop but widenable condition doesn't. It means that the widenable condition is loop-invariant, and some other optimizations could have done changes using this fact. If widening is allowed to create widened condition inside this loop, and join the loop-invariant wc with some non-invariant facts, it can cause miscompile. See example of this at https://github.com/llvm/llvm-project/issues/60234. The solution is to adjust the point of generationg the wide condition, and therefore of hoisting all related parts there. It should not be before the branch, but before the widenable_condition call. The fact that `wc()` and the wide condition are in the same block guarantees that they will not violate the invariance property for any loop. Differential Revision: https://reviews.llvm.org/D142693 Reviewed By: apilipenko
-
Quinn Dawkins authored
This is a similar to the existing folder for f16 to f32 added with D96041 but instead for integer types where destination bits > source bits. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D142922
-
Jonas Devlieghere authored
Fixes TAPI verification error: SBTraceCursor.h:130:23: error: declaration has external linkage, but dynamic library doesn't have symbol '__ZN4lldb13SBTraceCursor22GetExecutionContextRefEv' SBExecutionContext &GetExecutionContextRef(); ^ Remove the method as it doesn't have an implementation. -
Ben Shi authored
Reviewed By: Chenbing.Zheng, aykevl Differential Revision: https://reviews.llvm.org/D142170
-
Vasileios Porpodas authored
Differential Revision: https://reviews.llvm.org/D142944
-
Nemanja Ivanovic authored
This just adds a test case with current code gen. The patch with the fix will correct the code gen.
-
Fangrui Song authored
-
Craig Topper authored
This artifact can appear from the vectorizer. (add X, -1) is the backedge taken count. It gets zero extended and then 1 is added to it to get the trip count. There is usually a dominating branch that rules out X being zero. Alive: https://alive2.llvm.org/ce/z/NsRDwX
-
Craig Topper authored
-
Uday Bondhugula authored
Remove unnecessary Block argument on MemRefDependenceGraph::init. `block` is already a field on MDG. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D142597
-
Lei Zhang authored
This commit updates vector.contract documentation to clarify the promotion behavior if operands and the result have different bitwidths. It also adds a check to disable signed/unsigned integer types and only allow signless integers. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D142915
-
Gregory Alfonso authored
For Darwin, the boolean being passed is called IsSimulator, not "IsImulator" Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D139547
-
Joseph Huber authored
Summary: Accidentally deleted this.
-
Luke Lau authored
A follow up to 47b1f836, This covers some more cases on soft-float ABIs with the f/d extension. I left the TODO in as there is still the case where we need to handle rv32i without f/d, but that looks like it requires changes to SelectionDAGLegalize::ExpandFPLibCall Reviewed By: asb, reames Differential Revision: https://reviews.llvm.org/D142911
-
Slava Zakharin authored
Clang uses signext/zeroext attributes for integer arguments shorter than the default 'int' type on a target. So Flang has to match this for functions from Fortran runtime and also for BIND(C) routines. This patch implements ABI adjustments only for Fortran runtime calls. BIND(C) part will be done separately. This resolves https://github.com/llvm/llvm-project/issues/58579 Differential Revision: https://reviews.llvm.org/D142677
-
Bill Wendling authored
The register allocator may introduce reloads in the middle of reading and writing the EFLAGS register, due to the RDFLAGS & WRFLAGS pseudos being expanded before RA. This may cause an issue where the stack pointer was adjusted but the stack offset for the reload wasn't accounted for (see [1]). To avoid this, expand these pseudos after register allocation. [1] https://github.com/llvm/llvm-project/issues/59102 Reviewed By: craig.topper, nickdesaulniers, pengfei Differential Revision: https://reviews.llvm.org/D140045
-
Fangrui Song authored
-
Fangrui Song authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D142938
-
Med Ismail Bennani authored
This patch skips TestStackCoreScriptedProcess because the test times out when the Address Sanitizer is running. Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Nemanja Ivanovic authored
The pattern for a build_vector node was incorrect for big endian subtargets.
-
Slava Zakharin authored
Differential Revision: https://reviews.llvm.org/D142935
-
Kirill Stoimenov authored
A lot of tests are disabled by using UNSUPPORTED. The plan is to remove UNSUPPORTED for tests that are fixed. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D142676
-
Med Ismail Bennani authored
This patch conditionaly removes the `-py3` swig flag that was used to generate python3 bindings, since it's unsued since SWIG 4.1.0. ``` Deprecated command line option: -py3. Ignored, this option is no longer supported ``` This also removes the `-shadow` flag that have been deprecated since 2002. Differential Revision: https://reviews.llvm.org/D142245 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Benjamin Kramer authored
-
David Tenty authored
This change force us to use the top-level CMake's detected tools. We need to do this as a temporary workaround as when using CMake versions >= 3.22 we'll pickup the built llvm-ranlib by default if it's in the path (which it is when doing a sub build via llvm_ExternalProject_Add for the runtimes). llvm-ranlib runs into problems on AIX due to missing 64-bit functionality to be added by https://reviews.llvm.org/D142479 and https://reviews.llvm.org/D142660. Once those patches land, this can be reverted. Differential Revision: https://reviews.llvm.org/D142727
-
Jonas Devlieghere authored
This assert is only checked in Debug builds but ignored in all other builds. This replaces this code with lldbassert which should print a warning to the user in release builds and actually asserts in debug builds. Differential revision: https://reviews.llvm.org/D76697
-
Daniel Thornburgh authored
Indexed profiles already have a sorted and uniqued binary ID list, and due to this, duplicates are harmless in the list of binary IDs found, since it's set_differenced from the list in the indexed profile. Differential Revision: https://reviews.llvm.org/D136702
-
Daniel Thornburgh authored
Differential Revision: https://reviews.llvm.org/D136702
-
Chuanqi Xu authored
We've been shipping <coroutine> since LLVM 14, so LLVM 17 won't ship the <experimental/coroutine> header per our policy for removing TSes. Differential Revision: https://reviews.llvm.org/D108697
-
Shafik Yaghmour authored
In TransformAttributedType(...) when checking if _Nullable can be applied to a type it dereferences TL.getAttr() unconditionally which we can see from the code earlier in the function is not correct since it is expected to be nullptr in some cases. It looks like the correct course of action is to use TL.getModifiedLoc() over TL.getAttr()->getLocation() in the case that TL.getAttr() returns a nullptr. Fixes: https://github.com/llvm/llvm-project/issues/60344 Differential Revision: https://reviews.llvm.org/D142799
-
Hongtao Yu authored
This change avoids inserting probes to EH blocks. Pseudo probe can prevent block merging when probes in the blocks look different. This has a chained effect to passes incurring exponential IR growth (such as jump threading) and as a consequence the compilation may time out. Not inserting probes to EH blocks could mitigate the issue. Another benefit is that both IR size and binary size are smaller. Since EH blocks are usually cold, the change should have minimal impact to profile quality. Testing: Out of two internal large benchmarks, no perf impact seen. 1% size savings to both the `text` and the `pseudo_probe` section. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D142747
-
Louis Dionne authored
As a fly-by, also remove a superfluous <cstddef> include in promote.h. Differential Revision: https://reviews.llvm.org/D142657
-
Sanjay Patel authored
This is the most basic patch to handle fixing issue #57666. D133919 proposes to handle much more than this in a single patch, but I've used 10 regression tests just to make sure this part is doing what I expected and nothing more, and it already shows even more potential TODO items. The more general proofs from D133919 are correct, but I want to enable this in smaller steps to reduce risk: https://alive2.llvm.org/ce/z/RrVEyX Differential Revision: https://reviews.llvm.org/D142847
-