- May 07, 2020
-
-
Yaxun (Sam) Liu authored
This reverts commit 66041187. Will reland it under --print-target. Differential Revision: https://reviews.llvm.org/D79210
-
Tim Keith authored
IsDescriptor was returning false for a component whose shape depended on a length parameter. Change it to return true for any array with non-constant bounds. Differential Revision: https://reviews.llvm.org/D79349
-
Hans Wennborg authored
It caused asserts building Chromium, see discussion on https://reviews.llvm.org/D78997 This reverts commit 86dfbc67.
-
Sanjay Patel authored
Goes with D79452.
-
Sander de Smalen authored
This patch adds builtins for: - svmla_lane - svmls_lane - svmul_lane
-
Sander de Smalen authored
This patch adds builtins for: - svadclb - svadclt - svsbclb - svsbclt
-
Sander de Smalen authored
This patch adds builtins for: - svbcax - svbsl - svbsl1n - svbsl2n - sveor3 - svnbsl - svxar
-
Sander de Smalen authored
This patch adds builtins for: - svadalp
-
Sander de Smalen authored
This patch adds builtins for: - svaddp - svmaxnmp - svmaxp - svminnmp - svminp
-
Alexey Bataev authored
Summary: omp.h header file defines omp_null_allocator as a predefined allocator, need to consider it also as a predefined allocator. Reviewers: jdoerfert Subscribers: jholewinski, yaxunl, guansong, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D79186
-
Simon Pilgrim authored
-
Lei Zhang authored
SPIR-V ops can mix operands and attributes in the definition. These operands and attributes are serialized in the exact order of the definition to match SPIR-V binary format requirements. It can cause excessive generated code bloat because we are emitting code to handle each operand/attribute separately. So here we probe first to check whether all the operands are ahead of attributes. Then we can serialize all operands together. This removes ~1000 lines of code from the generated inc file. Differential Revision: https://reviews.llvm.org/D79446
-
Lei Zhang authored
These template functions are used in the serializer, where we can actually directly query the opcode from the op's definition and use that in the auto-generated serialization logic. This removes a set of templates accounting for 319 lines from the auto-generated inc file. Differential Revision: https://reviews.llvm.org/D79444
-
Sjoerd Meijer authored
-
Sander de Smalen authored
This patch adds builtins for: - svqdmulh, svqdmulh_lane - svqrdmlah, svqrdmlah_lane - svqrdmlsh, svqrdmlsh_lane - svqrdmulh, svqrdmulh_lane
-
Sander de Smalen authored
This patch adds builtins for: - svqshlu - svrshr - svrsra - svsli - svsra - svsri
-
Sander de Smalen authored
This patch adds builtins for: - svqrshl - svqshl - svsqadd - svuqadd
-
Sander de Smalen authored
This patch adds builtins for: - svqadd, svhadd, svrhadd - svqsub, svhsub, svqusbr, svhsubr - svqabs - svqneg - svrecpe - svrsqrte
-
Sander de Smalen authored
This patch adds builtins for saturating increment/decrement by svcntp, in scalar and vector forms.
-
Sander de Smalen authored
-
Simon Pilgrim authored
We rely on the combine (sext_in_reg (v4i64 a/sext (v4i32 x)), v4i1) -> (v4i64 sext (v4i32 sext_in_reg (v4i32 x, ExtraVT))) to avoid complex v4i64 ashr codegen, but doing so prevents v4i64 comparison mask promotion, so ensure we attempt to promote before canonicalizing the (hopefully now redundant sext_in_reg). Helps with the poor codegen in PR45808.
-
Sam Parker authored
Add cost model test for cast operations.
-
Calixte Denizet authored
Summary: When forking in several threads, the counters were written out in using the same global static variables (see GCDAProfiling.c): that leads to crashes. So when there is a fork, the counters are resetted in the child process and they will be dumped at exit using the interprocess file locking. When there is an exec, the counters are written out and in case of failures they're resetted. Reviewers: jfb, vsk, marco-c, serge-sans-paille Reviewed By: marco-c, serge-sans-paille Subscribers: llvm-commits, serge-sans-paille, dmajor, cfe-commits, hiraditya, dexonsmith, #sanitizers, marco-c, sylvestre.ledru Tags: #sanitizers, #clang, #llvm Differential Revision: https://reviews.llvm.org/D78477
-
Sergej Jaskiewicz authored
This reverts commit 67175d8d. https://reviews.llvm.org/D78200 has been reverted, so our bot is red. Make it green by turning off std::filesystem.
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D79558
-
Anna Welker authored
Enables the MVEGatherScatterLowering pass to build pre-incrementing gathers. Incrementing writeback gathers are built when it is possible to replace the loop increment instruction. Differential Revision: https://reviews.llvm.org/D76786
-
Sander de Smalen authored
This patch adds builtins for arithmetic shift right (round towards zero) instructions for zeroing (_z) and undef (_x) predication.
-
Sander de Smalen authored
This patch adds builtins for: - svadrb, svadrh, svadrw, svadrd
-
Sander de Smalen authored
-
Sander de Smalen authored
This patch adds builtins for: - svrdffr, svrdffr_z - svsetffr - svwrffr
-
Sander de Smalen authored
This patch adds builtins for saturating add/sub instructions: - svqadd, svqadd_n - svqsub, svqsub_n and builtins for dot product instructions: - svdot, svdot_lane
-
Kazushi (Jam) Marukawa authored
Remove unnecessary EncoderMethod and DecoderMethod which cause errors in supporting MC layer. Differential Revision: https://reviews.llvm.org/D79544
-
Kazushi (Jam) Marukawa authored
Summary: Correct instruction bitfield addresses to generate machine code correctly. Also add some variables to represent all instructions correctly and change default values to use registers by default. Differential Revision: https://reviews.llvm.org/D79539
-
Lucas Prates authored
Summary: Conflicting types for the same section name defined in clang section pragmas and GNU-style section attributes were not properly captured by Clang's Sema. The lack of diagnostics was caused by the fact the section specification coming from attributes was handled by Sema as implicit, even though explicitly defined by the user. This patch enables the diagnostics for section type conflicts between those specifications by making sure sections defined in section attributes are correctly handled as explicit. Reviewers: hans, rnk, javed.absar Reviewed By: rnk Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78573
-
Lucas Prates authored
Summary: Section names used in clang section pragmas were not validated against previously defined sections, causing section type conflicts to be ignored by Sema. This patch enables Clang to capture these section type conflicts by using the existing Sema's UnifySection method to validate section names from clang section pragmas. Reviewers: hans, rnk, javed.absar Reviewed By: rnk Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78572
-
Sander de Smalen authored
This patch adds builtins for: - sveorbt - sveortb - svpmul - svpmullb, svpmullb_pair - svpmullt, svpmullt_pair The svpmullb and svpmullt builtins are expressed using the svpmullb_pair and svpmullt_pair LLVM IR intrinsics, respectively. Reviewers: SjoerdMeijer, efriedma, rengolin Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D79480
-
Sjoerd Meijer authored
With 3 llvm regr tests fixed/updated that I had missed.
-
Adam Czachorowski authored
Summary: We used getEnclosingNamespaceContext(), which calls getParent() rather than getLexicalParent(), so we would end up adding the "using" line in places that do not affect the cursor location, or just return an error when declaration was in another file. Patch by Adam Czachorowski! Reviewers: hokein Reviewed By: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79496
-
Kerry McLaughlin authored
Summary: Adds AArch64ISD nodes for: - SHL_PRED (logical shift left) - SHR_PRED (logical shift right) - SRA_PRED (arithmetic shift right) Existing patterns for unpredicated left shift by immediate have also been moved into the appropriate multiclasses in SVEInstrFormats.td. Reviewers: sdesmalen, efriedma, ctetreau, huihuiz, rengolin Reviewed By: efriedma Subscribers: huihuiz, tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79478
-
Alex Zinenko authored
This functionality was introduced in a87db48e but only only tested indirectly though Linalg tests. Add direct tests.
-