- Jun 05, 2020
-
-
Ties Stuij authored
Summary: This patch adds the bfloat16_t struct typedefs (e.g. bfloat16x8x2_t) to arm_neon.h This patch is part of a series implementing the Bfloat16 extension of the Armv8.6-a architecture, as detailed here: https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a The bfloat type, and its properties are specified in the Arm Architecture Reference Manual: https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile The following people contributed to this patch: - Luke Cheeseman - Simon Tatham - Ties Stuij Reviewers: t.p.northover, fpetrogalli, sdesmalen, az, LukeGeeson Reviewed By: fpetrogalli Subscribers: SjoerdMeijer, LukeGeeson, pbarrio, mgorny, kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79708
-
HazemAbdelhafez authored
Add support for flat, location, and noperspective decorations in the serializer and deserializer to be able to process basic shader files for graphics applications. Differential Revision: https://reviews.llvm.org/D80837
-
Denis Antrushin authored
-
Nicolas Vasilache authored
Recently introduced allocation hoisting is quite conservative on the cases when it triggers. This revision makes it such that the allocations for vector transfer lowerings are hoisted to the top of the function. This should be revisited in the context of parallelism and is a temporary workaround. Differential Revision: https://reviews.llvm.org/D81253
-
Dineshkumar Bhaskaran authored
Summary: Added "not equal to" operator for DocNode comparison Reviewers: arsenm, scott.linder, saiislam Reviewed By: saiislam Subscribers: wdng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81250
-
Joachim Protze authored
The feature was removed before upstreaming Archer, so the documentation is wrong
-
Ties Stuij authored
Summary: The poly64 types are guarded with ifdefs for AArch64 only. This is wrong. This was also incorrectly documented in the ACLE spec, but this has been rectified in the latest release. See paragraph 13.1.2 "Vector data types": https://developer.arm.com/docs/101028/latest This patch was written by Alexandros Lamprineas. Reviewers: ostannard, sdesmalen, fpetrogalli, labrinea, t.p.northover, LukeGeeson Reviewed By: ostannard Subscribers: pbarrio, LukeGeeson, kristof.beyls, danielkiss, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79711
-
Denis Antrushin authored
Current implementation of emitPatchpoint() is very inefficient: for every FrameIndex operand if creates new MachineInstr with that operand expanded and all other copied as is. Since PATCHPOINT/STATEPOINT instructions may have *a lot* of FrameIndex operands, we end up creating and erasing many machine instructions. But we can do it in single pass, with only one new machine instruction generated. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D81181
-
Tom Weaver authored
* Adds DexLimitSteps Command. * Add ConditionalController, a new DebuggerController type. * 5 regression tests * documentation * recommit, fixed accidental adding of unnecessary file Reviewers: jmorse Differential Revision: https://reviews.llvm.org/D79786
-
Stefan Pintilie authored
Calls that are marked as @notoc do not require the extra nop after the call for the TOC restore. Differential Revision: https://reviews.llvm.org/D81081
-
Nicolas Vasilache authored
-
Kerry McLaughlin authored
Summary: This patch adds legalisation of extensions where the operand of the extend is a legal scalable type but the result is not. EXTRACT_SUBVECTOR is used to split the result, before being replaced by target-specific [S|U]UNPK[HI|LO] operations. For example: ``` zext <vscale x 16 x i8> %a to <vscale x 16 x i16> ``` should emit: ``` uunpklo z2.h, z0.b uunpkhi z1.h, z0.b ``` Reviewers: sdesmalen, efriedma, david-arm Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, huihuiz, cfe-commits, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79587
-
Kadir Cetinkaya authored
This reverts commit 16b7eb6d. Breaks build bots, see http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/29888 for an example.
-
Kadir Cetinkaya authored
To unbreak builds that happen on a read-only directory
-
Stefan Pintilie authored
Modify the pcrel.ll test file to add more testing for PC Relative.
-
Nicolas Vasilache authored
This revision adds a helper function to hoist vector.transfer_read / vector.transfer_write pairs out of immediately enclosing scf::ForOp iteratively, if the following conditions are true: 1. The 2 ops access the same memref with the same indices. 2. All operands are invariant under the enclosing scf::ForOp. 3. No uses of the memref either dominate the transfer_read or are dominated by the transfer_write (i.e. no aliasing between the write and the read across the loop) To improve hoisting opportunities, call the `moveLoopInvariantCode` helper function on the candidate loop above which to hoist. Hoisting the transfers results in scf::ForOp yielding the value that originally transited through memory. This revision additionally exposes `moveLoopInvariantCode` as a helper in LoopUtils.h and updates SliceAnalysis to support return scf::For values and allow hoisting across multiple scf::ForOps. Differential Revision: https://reviews.llvm.org/D81199
-
Xing GUO authored
-
Kadir Cetinkaya authored
-
Max Kazantsev authored
We can simplify ``` icmp <pred> phi(C1, C2, ...), C ``` with ``` phi(icmp(C1, C), icmp(C2, C), ...) ``` provided that all comparison of constants are constants themselves. Differential Revision: https://reviews.llvm.org/D81151 Reviewed By: lebedev.ri
-
Kadir Cetinkaya authored
Forward declaring llvm::errs is not enough, as it is used as a default parameter with a type that references the base class. So the class hierarchy must be visible.
-
Jan Kratochvil authored
It regressed recently by my: https://reviews.llvm.org/D81119
-
Kazushi (Jam) Marukawa authored
Summary: Add regression tests of asmparser, mccodeemitter, and disassembler for fixed-point operation instructions. In order to support them, we add MImm parser to asmparser. Also add a new MPD instruction which is one of multiply instructions. Differential Revision: https://reviews.llvm.org/D81207
-
Daniel Grumberg authored
-
Simon Pilgrim authored
Remove unnecessary MemoryAccess forward declaration as its already included from MemorySSA.h Move implicit include dependencies down to source files.
-
Simon Pilgrim authored
Add llvm_unreachable after switch statement for TestLanguage enum
-
Ties Stuij authored
Summary: This patch upstreams support for a new storage only bfloat16 C type. This type is used to implement primitive support for bfloat16 data, in line with the Bfloat16 extension of the Armv8.6-a architecture, as detailed here: https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a The bfloat type, and its properties are specified in the Arm Architecture Reference Manual: https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile In detail this patch: - introduces an opaque, storage-only C-type __bf16, which introduces a new bfloat IR type. This is part of a patch series, starting with command-line and Bfloat16 assembly support. The subsequent patches will upstream intrinsics support for BFloat16, followed by Matrix Multiplication and the remaining Virtualization features of the armv8.6-a architecture. The following people contributed to this patch: - Luke Cheeseman - Momchil Velikov - Alexandros Lamprineas - Luke Geeson - Simon Tatham - Ties Stuij Reviewers: SjoerdMeijer, rjmccall, rsmith, liutianle, RKSimon, craig.topper, jfb, LukeGeeson, fpetrogalli Reviewed By: SjoerdMeijer Subscribers: labrinea, majnemer, asmith, dexonsmith, kristof.beyls, arphaman, danielkiss, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D76077
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D81186
-
Roman Lebedev authored
-
Sam Parker authored
Use getMemoryOpCost from the generic implementation of getUserCost and have getInstructionThroughput return the result of that for loads and stores. This also means that the X86 implementation of getUserCost can be removed with the functionality folded into its getMemoryOpCost. Differential Revision: https://reviews.llvm.org/D80984
-
Tres Popp authored
-
Tres Popp authored
Summary: This will inline the region to a shape.assuming in the case that the input witness is found to be statically true. Differential Revision: https://reviews.llvm.org/D80302
-
Tres Popp authored
In the case of all inputs being constant and equal, cstr_eq will be replaced with a true_witness. Differential Revision: https://reviews.llvm.org/D80303
-
Tres Popp authored
This allows replacing of this op with a true witness in the case of both inputs being const_shapes and being found to be broadcastable. Differential Revision: https://reviews.llvm.org/D80304
-
Tres Popp authored
If any input to shape.any is a const_shape, shape.any can be replaced with that input. Differential Revision: https://reviews.llvm.org/D80305
-
Tres Popp authored
This allows assuming_all to be replaced when all inputs are known to be statically passing witnesses. Differential Revision: https://reviews.llvm.org/D80306
-
Tres Popp authored
This will later be used during canonicalization and folding steps to replace statically known passing constraints. Differential Revision: https://reviews.llvm.org/D80307
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D81194
-
Roman Lebedev authored
-
Hans Wennborg authored
After a180d540 the build was failing with: In file included from /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp:9:0: /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersTest.h: In function ‘llvm::ArrayRef<clang::TestLanguage> clang::ast_matchers::langCxx11OrLater()’: /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersTest.h:64:10: error: could not convert ‘(const clang::TestLanguage*)(& Result)’ from ‘const clang::TestLanguage*’ to ‘llvm::ArrayRef<clang::TestLanguage>’ return Result; ^
-
Haojian Wu authored
Summary: A followup of D79938. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81066
-