- Jan 06, 2021
-
-
Stefan Pintilie authored
The new Power10 instruction vsrq was being given the wrong shift vector. The original code assumed that the shift would be found in bits 121 to 127. This is not correct. The shift is found in bits 57 to 63. This can be fixed by swaping the first and second double words. Reviewed By: nemanjai, #powerpc Differential Revision: https://reviews.llvm.org/D94113
-
Florian Hahn authored
This patch updates VPWidenIntOrFpInductionRecipe to hold the start value for the induction variable. This makes the start value explicit and allows for adjusting the start value for a VPlan. The flexibility will be used in further patches. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D92129
-
Sander de Smalen authored
When using dbg.declare, the debug-info is generated from a list of locals rather than through DBG_VALUE instructions in the MIR. This patch is different from D90020 because it emits the DWARF location expressions from that list of locals directly. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D90044
-
Fraser Cormack authored
-
Sander de Smalen authored
This patch fixes the two LiveDebugValues implementations (InstrRef/VarLoc)Based to handle cases where the StackOffset contains both a fixed and scalable component. This depends on the `TargetRegisterInfo::prependOffsetExpression` being added in D90020. Feel free to leave comments on that patch if you have them. Reviewed By: djtodoro, jmorse Differential Revision: https://reviews.llvm.org/D90046
-
David Green authored
Same as a9b6440e, use zanyext to treat any_extends as zero extends during lowering to create addw/addl/subw/subl nodes. Differential Revision: https://reviews.llvm.org/D93835
-
Florian Hahn authored
This patch adds a new getLiveInIRValue accessor to VPValue, which returns the underlying value, if the VPValue is defined outside of VPlan. This is required to handle scalars in VPTransformState, which requires dealing with scalars defined outside of VPlan. We can simply check VPValue::Def to determine if the value is defined inside a VPlan. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D92281
-
Alex Zinenko authored
LLVM dialect type parsing and printing have been using a local stack object forwarded between recursive functions responsible for parsing or printing specific types. This stack is necessary to intercept (mutually) recursive structure types and avoid inifinite recursion. This approach works only thanks to the closedness of the LLVM dialect type system: types that don't belong to the dialect are not allowed. Switch the approach to using a `thread_local` stack inside the functions parsing the structure types. This makes the code slightly cleaner by avoiding the need to pass the stack object around and, more importantly, makes it possible to reconsider the closedness of the LLVM dialect type system. As a nice side effect of this change, container LLVM dialect types now support type aliases in their body (although it is currently impossible to also use the alises when printing). Depends On D93713 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D93714
-
Ben Shi authored
-
David Green authored
Similar to 78d8a821 but for ARM, this handles any_extend whilst creating MULL nodes, treating them as zextends. Differential Revision: https://reviews.llvm.org/D93834
-
Florian Hahn authored
VPPredInstPHIRecipe does not need access to VPValue via friendship. It can just use the public constructor, Discussed as part of D92281.
-
Sander de Smalen authored
Set the target-triple to aarch64 in debug-info-sve-dbg-value.mir to avoid "'+sve' is not a recognized feature for this target" diagnostic.
-
Andrzej Warzynski authored
As per Flang's coding guidelines (flang/docs/C++style.md#error-messages): ``` Messages should start with a capital letter. ``` This patch updates error messages in the driver (new and old) so that they conform with the guideline above. This change was suggested in one of the recent reviews: https://reviews.llvm.org/D93712. It felt like this deserved a dedicated patch, so sending it separately.
-
David Green authored
This adds an extra tablegen PatFrag, zanyext, which matches either any extend or zext and uses that in the aarch64 backend to handle any extends in addw/addl/subw/subl patterns. Differential Revision: https://reviews.llvm.org/D93833
-
Oliver Stannard authored
Revert "[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl" This reverts commit b7718b61, because it is causing build failures on all 32-bit ARM bots which build compiler-rt.
-
Andrzej Warzynski authored
If either `Prescan` or `Parse` generate any fatal errors, the new driver will: * report it (i.e. issue an error diagnostic) * exit early * return non-zero exit code This behaviour is consistent with f18 (i.e. the old driver). Reviewed By: sameeranjoshi Differential Revision: https://reviews.llvm.org/D93712
-
David Green authored
Demanded bits may turn a sext or zext into an anyext if the top bits are not needed. This currently prevents the lowering to instructions like mull, addl and addw. This patch fixes the mull generation by keeping it simple and treating them like zextends. Differential Revision: https://reviews.llvm.org/D93832
-
Sander de Smalen authored
Extend PEI to emit a DWARF expression for StackOffsets that have a fixed and scalable component. This means the expression that needs to be added is either: <base> + offset or: <base> + offset + scalable_offset * scalereg where for SVE, the scale reg is the Vector Granule Dwarf register, which encodes the number of 64bit 'granules' in an SVE vector and which the debugger can evaluate at runtime. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D90020
-
Sander de Smalen authored
Custom-expand legal VECREDUCE_FADD SDNodes to benefit from pair-wise faddp instructions. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D59259
-
Sam Clegg authored
Be consistent about asserting before setting WasmIndices. Adding these assertions revealed that we were duplicating a lot of work and setting these indexed twice when running in DWO mode. Differential Revision: https://reviews.llvm.org/D93650
-
Fraser Cormack authored
There is no test coverage for the mulhs or mulhu patterns as I can't get the DAGCombiner to generate them for scalable vectors. There are a few places in that still need updating for that to work. I left the patterns in regardless as they are correct. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D94073
-
Aleksandr Platonov authored
This is follow up to D93393. Without this patch `MergedIndex::fuzzyFind()` returns stale symbols from the static index even if these symbols were removed. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D93796
-
Pushpinder Singh authored
AMDGPU backend requires entry functions/kernels to have AMDGPU_KERNEL calling convention for proper linking. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D94060
-
Siva Chandra Reddy authored
A differential fuzzer for these functions has also been added. Along the way, a small correction has been done to the normal/subnormal limits of x86 long double values. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D94109
-
Siva Chandra Reddy authored
The implementation is exactly the same as rint* as even rint does not raise any floating point exceptions currently. [Note that the standards do not specify that floating point exceptions must be raised - they leave it up to the implementation to choose to raise FE_INEXACT when rounding non-integral values.] Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D94112
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Christudasan Devadasan authored
If the return values can't be lowered to registers SelectionDAG performs the sret demotion. This patch contains the basic implementation for the same in the GlobalISel pipeline. Furthermore, targets should bring relevant changes during lowerFormalArguments, lowerReturn and lowerCall to make use of this feature. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D92953
-
Mircea Trofin authored
This covers the tests starting with h-k. Differential Revision: https://reviews.llvm.org/D94147
-
Yang Fan authored
-
Peter Collingbourne authored
-
Peter Collingbourne authored
This character indicates that when return pointer authentication is being used, the function signs the return address using the B key. Differential Revision: https://reviews.llvm.org/D93954
-
Mircea Trofin authored
More patches to follow. This covers the pertinent tests starting with e, f, and g. Differential Revision: https://reviews.llvm.org/D94124
-
Andrew Young authored
The passed in tool name is not used, causing the wrong tool name to be printed by the help text. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D94120 -
Juneyoung Lee authored
This patch - Adds containsPoisonElement that checks existence of poison in constant vector elements, - Renames containsUndefElement to containsUndefOrPoisonElement to clarify its behavior & updates its uses properly With this patch, isGuaranteedNotToBeUndefOrPoison's tests w.r.t constant vectors are added because its analysis is improved. Thanks! Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D94053
-
Juneyoung Lee authored
This patch updates X86InstCombineIntrinsic.cpp to use the newly updated CreateShuffleVector. The tests are updated because the updated CreateShuffleVector uses poison value for the second vector. If I didn't miss something, the masks in the tests are choosing elements from the first vector only; therefore the tests are having equivalent behavior. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D94059
-
Juneyoung Lee authored
This patch makes SLP and LV emit operations with initial vectors set to poison constant instead of undef. This is a part of efforts for using poison vector instead of undef to represent "doesn't care" vector. The goal is to make nice shufflevector optimizations valid that is currently incorrect due to the tricky interaction between undef and poison (see https://bugs.llvm.org/show_bug.cgi?id=44185 ). Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D94061
-
lewuathe authored
MathJax is not properly imported in Affine doc. It causes the invalid rendering of math formulas in the Affine doc page. https://mlir.llvm.org/docs/Dialects/Affine/#affine-expressions Importing MathJax code from CDN resolved the rendering issue as follows. {F14942131} Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D94004
-
Yang Fan authored
In implicitly movable test, a two-stage overload resolution is performed. If the first overload resolution selects a deleted function, Clang directly performs the second overload resolution, without checking whether the deleted function matches the additional criteria. This patch fixes the above problem. Reviewed By: Quuxplusone Differential Revision: https://reviews.llvm.org/D92936
-