- Jan 24, 2023
-
-
Francesco Petrogalli authored
This fixes the rendering of the items at https://llvm.org/docs/GettingStarted.html#stand-alone-builds Differential Revision: https://reviews.llvm.org/D142457
-
Alex Bradbury authored
See <https://github.com/llvm/llvm-project/issues/57261> for full details. Essentially, a previous version of the psABI indicated (by my reading) that integer scalars passed on the stack were anyext. A [later commit](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/commit/cec39a064ee0e5b0129973fffab7e3ad1710498f) changed this to indicate that they are in fact signext/zeroext just as if they were passed in registers. This patch adds the change in the release notes but doesn't add a flag to retain the old behaviour. The hope is that it's sufficiently hard to trigger an issue due to this that it isn't worthwhile doing so. Differential Revision: https://reviews.llvm.org/D140401
-
Stefan Gränitz authored
Generalize and share code for operand bundle handling. Drop the anonymous namespace (all other helper functions are local static). Rename the existing funclet test for cleanup-pads. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D137945
-
Stefan Gränitz authored
When optimizing retain-release-sequences we insert (and delete) ObjC runtime calls. These calls need a funclet operand bundle that refers to the enclosing funclet pad whenever they are inserted in a WinEH funclet. WinEH funclets can contain multiple basic blocks. In order to find the enclosing funclet pad, we have to calculate the funclet coloring first. Reviewed By: ahatanak Differential Revision: https://reviews.llvm.org/D137944
-
Johannes Reifferscheid authored
The op doesn't need to be a LinalgOp, implementing TilingInterface and DestinationStyleOpInterace is sufficient. Reviewed By: nicolasvasilache, ftynse Differential Revision: https://reviews.llvm.org/D142460
-
Joachim Protze authored
This patch fix issues reported for Ubuntu and possibly other platforms: https://github.com/llvm/llvm-project/issues/45290 The latest comment on this issue points out that using dlsym rather than the weak symbol approach to call TSan annotation functions fixes the issue for Ubuntu. Differential Revision: https://reviews.llvm.org/D142378
-
Florian Hahn authored
Also removes a dead argument from some tests.
-
David Green authored
-
Sanjay Patel authored
Test if 2 values have different or same signbits: (X u>> BitWidth - 1) == zext (Y s> -1) --> (X ^ Y) < 0 (X u>> BitWidth - 1) != zext (Y s> -1) --> (X ^ Y) > -1 https://alive2.llvm.org/ce/z/qMwMhj As noted in #60242, these patterns regressed between the 14.0 and 15.0 releases - probably due to a change in canonicalization of related patterns. The related patterns for testing if 2 values are both pos/neg appear to be handled already.
-
Sanjay Patel authored
These were added with e76c95fb with the right test names, but the predicates weren't updated to match.
-
Valentin Clement authored
When emboxing to a polymorphic entity without a type source box, the type desc address must be retrived from the input type and not from the box type. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D142435
-
Valentin Clement authored
Only updates the assert to check where the box is a BaseBoxType instead of a BoxType since ClassType are also valid in that case. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D142442
-
Valentin Clement authored
-
Aaron Ballman authored
This addresses issues found by: https://lab.llvm.org/buildbot/#/builders/92/builds/39084
-
Paul Walker authored
The original logic resulted in inserting an integer vector into a floating point one and vice versa. Patch also adds the missing assert that would have caught the issue. Differential Revision: https://reviews.llvm.org/D142303
-
Michał Górny authored
The LLVMTestingAnnotations library that is now used by unittests is not installed as part of LLVM. In order to make it possible to build unittests when performing the standalone build of clang, build the library from LLVM sources locally. This mirrors the existing logic for LLVMTestingSupport. Differential Revision: https://reviews.llvm.org/D142449
-
Marco Elver authored
Declare callbacks extern weak (if no existing declaration exists), and only call if the function address is non-null. This allows to attach semantic metadata to binaries where no user of that metadata exists, avoiding to have to link empty stub callbacks. Once the binary is linked (statically or dynamically) against a tool runtime that implements the callbacks, the respective callbacks will be called. This vastly simplifies gradual deployment of tools using the metadata, esp. avoiding having to recompile large codebases with different compiler flags (which negatively impacts compiler caches). Reviewed By: dvyukov, vitalybuka Differential Revision: https://reviews.llvm.org/D142408
-
Masahiro ARAKAWA authored
Differential Revision: https://reviews.llvm.org/D136138
-
Guillaume Chatelet authored
-
Caroline Concatto authored
Add the following intrinsic: ADD single & multi SUB single & multi NOTE: These intrinsics are still in development and are subject to future changes. Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D142114
-
Ilya Biryukov authored
This helps to unblock our internal integrate that now relies on C++20 configuration. I will follow up with a proposal to re-enable the deleted constructors soon, but it is a bit involved to avoid increasing the sizes of struct.
-
Guillaume Chatelet authored
-
Nicolas Vasilache authored
-
Nicolas Vasilache authored
-
eopXD authored
The extra logic here is redundant. Also sneaked in an one-liner for emitting `IsMasked`. This is the 8th commit of a patch-set that aims to change the default policy for RVV intrinsics from TAMU to TAMA. Please refer to the cover letter in the 1st commit (D141573) for an overview. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D141762
-
Guillaume Chatelet authored
-
Luke Lau authored
Adds new pseudo instructions to make sure that the fcvt instructions have all rounding mode (RM) and unsigned (XU) variants across single-width, widening and narrowing conversions. And likewise, extends the VL patterns to accompany them. We don't add new VL nodes for the widening/narrowing conversions though, instead we just add specific patterns for vfcvts on those wider/narrower types. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D142102
-
Guillaume Chatelet authored
unsigned
-
Serge Pavlov authored
Operations on floating-point complex data had incorrect FP attributes in strictfp mode, because IRBuilder object was not synchronized with AST node attributes. Differential Revision: https://reviews.llvm.org/D141765
-
eopXD authored
The default value is set to `Omit`, but in fact the value is then assigned in `updateNamesAndPolicy`, which is set to TUMU when masked and TAMU when unmasked. This commit demonstrates so and further remove another dependency of `Omit`. This is the 7th commit of a patch-set that aims to change the default policy for RVV intrinsics from TAMU to TAMA. Please refer to the cover letter in the 1st commit (D141573) for an overview. Reviewed By: craig.topper, kito-cheng Differential Revision: https://reviews.llvm.org/D141759
-
Valentin Clement authored
When `ARRAY` is polymorphic, the result needs to carry over the dynamic type information. This patch updates the lowering to make the result polymorphic when needed. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D142432
-
Caroline Concatto authored
Add the following intrinsic: SQCVTN SQCVTUN UQCVTN NOTE: These intrinsics are still in development and are subject to future changes. Reviewed By: kmclaughlin Differential Revision: https://reviews.llvm.org/D142089 -
Samuel Parker authored
Attempt to fold the trunc into the fp-to-int conversion. Differential Revision: https://reviews.llvm.org/D142093
-
LLVM GN Syncbot authored
-
eopXD authored
The logic under `computeBuiltinTypes` is an amendment to setting Policy as `Omit`. The tail policy should be set to agnostic for those intrinsics that has `HasTailPolicy = false`, which are the intrinsics with a mask destination register. This is the 6th commit of a patch-set that aims to change the default policy for RVV intrinsics from TAMU to TAMA. Please refer to the cover letter in the 1st commit (D141573) for an overview. Reviewed By: craig.topper, kito-cheng Differential Revision: https://reviews.llvm.org/D141756
-
Hui authored
- implement `std::ranges::split_view` (last c++20 view) - Work in process on testing iterator/sentinel, but since we are getting closer to the deadline, I'd like to send the review early Differential Revision: https://reviews.llvm.org/D142063
-
Yashwant Singh authored
tryFoldLoad() is not meant to work on physical registers moreover use_nodbg_instructions(reg) makes the compiler buggy when called with physical reg Fix for SWDEV-373493 Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D141895
-
Jonas Hahnfeld authored
This callback was removed with commit 7a124f48, but we use it downstream in ROOT/Cling to implement handling of a special include syntax. Add back a "safe" version of the callback that only takes the file name and return a bool to silently skip the file. Differential Revision: https://reviews.llvm.org/D142196
-
Christian Ulmann authored
This commit ensures that argument attributes are dropped from types that are expanded to multiple function arguments. Previously, they were attached to all arguments belonging to the memref, which resulted in illegal LLVMIR, e.g., noalias on integers. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D142212
-
Guillaume Chatelet authored
Let's use the new version of the API that helps tighten the alignment values Semantic. Differential Revision: https://reviews.llvm.org/D141830
-