1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

9367 Commits

Author SHA1 Message Date
LLVM GN Syncbot
345ed810ca [gn build] Port 9ca6fc4e095 2020-11-09 14:31:09 +00:00
LLVM GN Syncbot
2f720b3a66 [gn build] Port d725f1ce531 2020-11-07 19:18:18 +00:00
Kazu Hirata
e786f8b19e [TableGen] Use llvm::is_contained (NFC) 2020-11-06 14:18:01 -08:00
Jay Foad
0cb73d61a1 [TableGen] Indentation and whitespace fixes in generated code. NFC.
Some of these were found by running clang-format over the generated
code, although that complains about far more issues than I have fixed
here.

Differential Revision: https://reviews.llvm.org/D90937
2020-11-06 16:10:57 +00:00
Valentin Clement
8c87b66158 [flang][openacc] Add parsing tests and semantic check for set directive
This patch add some parsing and clause validity tests for the set directive.
It makes use of the possibility introduces in patch D90770 to check the restriction
were one of the default_async, device_num and device_type clauses is required but also
not more than once on the set directive.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D90771
2020-11-05 22:57:58 -05:00
Valentin Clement
021bbc7b82 [openacc][openmp] Allow duplicate between required and allowed once/exclusive
Validity check introduce in D90241 are a bit too restrict and this patch propose to losen
them a bit. The duplicate clauses is now check only between the three allowed lists and between the
requiredClauses and allowedClauses lists. This allows to enable some check where a clause can be
required but also appear only once on the directive. We found these kind of restriction useful
on the set directive in OpenACC for example.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D90770
2020-11-05 16:21:26 -05:00
Nico Weber
a93ee77123 [gn build] (manually) port 82f86ae01 more 2020-11-05 14:12:33 -05:00
Nico Weber
acf50db150 [gn build] (manually) port 82f86ae01 2020-11-05 14:11:26 -05:00
LLVM GN Syncbot
2bde9e6972 [gn build] Port 659f4bd87ef 2020-11-05 15:11:13 +00:00
Steven Wan
8a4871ee91 Add info about the cherry-picked commit and contributor 2020-11-04 14:23:27 -05:00
Steven Wan
54d3d00751 [PowerPC] Rename mftbl to mftb
`mftb` and `mftbl` are equivalent, there is no need to have two names for doing the same thing, rename `mftbl` to only have `mftb`.

Differential Revision: https://reviews.llvm.org/D89506
2020-11-04 14:23:27 -05:00
LLVM GN Syncbot
d609931b08 [gn build] Port d1b2a523191 2020-11-04 15:36:49 +00:00
LLVM GN Syncbot
05c2fcc211 [gn build] Port 73b6cb67dcd 2020-11-04 12:00:24 +00:00
LLVM GN Syncbot
d19e12083d [gn build] Port 1124bf4ab77 2020-11-04 12:00:24 +00:00
Nico Weber
7fc5c0fdb0 [gn build] try to port 707d69ff32309b 2020-11-04 07:00:05 -05:00
Vitaly Buka
7d04bf155f [sanitizer] Remove ANDROID_NDK_VERSION 2020-11-04 01:15:25 -08:00
Valentin Clement
683b5fd7b1 [openmp][openacc][NFC] Simplify access and validation of DirectiveBase information
This patch adds some helper in the DirectiveLanguage wrapper to initialize it from
the RecordKeeper and validate the records. This simplify arguments in lots of function
since only the DirectiveLanguge is passed.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D90358
2020-11-03 11:13:06 -05:00
LLVM GN Syncbot
f3c13cd376 [gn build] Port 1667d23e585 2020-11-03 13:58:51 +00:00
Nico Weber
ae77e74525 [gn build] (manually) port 1af3cb5424d 2020-11-03 08:58:23 -05:00
Sam McCall
870b03306d [clangd] Fix check-clangd with no clang built
- pass required=False to use_clang(), as we don't need it
- fix required=False (which was unused and rotted):
  - make derived substitutions conditional on it
  - add a feature so we can disable tests that need it
- conditionally disable our one test that depends on %resource_dir.
  This doesn't seem right from first principles, but isn't a big deal.

Differential Revision: https://reviews.llvm.org/D90528
2020-11-02 21:10:43 +01:00
LLVM GN Syncbot
3fae7c2ab5 [gn build] Port c17da8676a0 2020-11-02 18:32:12 +00:00
Nico Weber
386c41e2e2 [gn build] Run git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format 2020-11-02 10:49:54 -05:00
Nico Weber
ed2dff4f4d [gn build] (manually) port c6eaa14e11 2020-11-02 10:43:38 -05:00
Nico Weber
f30ddf1336 [gn build] (manually) port 76a168bce01 better 2020-11-02 10:14:58 -05:00
Evgeny Leviant
6daa076b36 [TableGen][SchedModels] Fix read/write variant substitution
Patch fixes case when sched class has write and read variants belonging
to different processor models.

Differential revision: https://reviews.llvm.org/D89777
2020-11-02 17:39:04 +03:00
Nico Weber
63eb68a1b7 [gn build] (manually) port 76a168bce01 2020-11-02 09:22:44 -05:00
LLVM GN Syncbot
8b5751e5aa [gn build] Port 756f5978410 2020-10-31 05:19:04 +00:00
Mircea Trofin
3afc00f390 [FileCheck] Report missing prefixes when more than one is provided.
If more than a prefix is provided - e.g. --check-prefixes=CHECK,FOO - we
don't report if (say) FOO is never used. This may lead to a gap in our
test coverage.

This patch introduces a new option, --allow-unused-prefixes. It
currently is set to true, keeping today's behavior. After we explicitly
set it in tests where this behavior was actually intentional, we will
switch it to false by default.

Differential Revision: https://reviews.llvm.org/D90281
2020-10-30 12:39:29 -07:00
LLVM GN Syncbot
46e2484ccc [gn build] Port ac49500cd04 2020-10-30 19:18:17 +00:00
LLVM GN Syncbot
944684f022 [gn build] Port 940d0a310dc 2020-10-30 18:08:01 +00:00
LLVM GN Syncbot
2f3cec0d0b [gn build] Port 84e8257937e 2020-10-30 17:54:57 +00:00
Nico Weber
5eee0feeab [gn build] port e58660750e76
Made necessary by c479e0c99459e4, which requires std::timespec
to exist, which it only does in c++17 and later.
2020-10-30 13:49:27 -04:00
serge-sans-paille
9755b5cd4d [lit] Ship and bundle license for lit package
lit is bundled independently from LLVM in at least one location
(https://pypi.org/project/lit/), it's easier to state its license locally.

Differential Revision: https://reviews.llvm.org/D90136
2020-10-30 15:34:00 +01:00
LLVM GN Syncbot
c4068d104f [gn build] Port 00090a2b826 2020-10-30 02:36:24 +00:00
Marcel Hlopko
d70c0f894f Remove HAVE_VCS_VERSION_INC, not needed
This preprocessor define was meant to be used to conditionally include VCSVersion.inc. However, the define was always set, and it was the content of the header that was conditionally generated. Therefore HAVE_VCS_VERSION_INC should be cleaned up.

Reviewed By: gribozavr2, MaskRay

Differential Revision: https://reviews.llvm.org/D84623
2020-10-29 13:09:05 -07:00
Peter Collingbourne
215544881e gn build: Define HWASAN_WITH_INTERCEPTORS=1 for hwasan_new_delete.cpp as well. 2020-10-28 15:42:07 -07:00
Jay Foad
84f5fe8d70 [TableGen] Treat reg as isolated in reg$foo (but not in ${foo}reg)
D9844 fixed a problem where the ss suffix in the AsmString "cmp${cc}ss"
was recognised as the X86 SS register, by only recognising a token as a
register name if it is "isolated", i.e. surrounded by separator
characters.

In the AMDGPU backend there are many operands like $clamp which expand
to an optional string " clamp" including the preceding space, so we want
to have AsmStrings including sequences like "vcc$clamp" where vcc is a
register name.

This patch relaxes the rules for an isolated token, to say that it's OK
if the token is immediately followed by a '$'.

Differential Revision: https://reviews.llvm.org/D90315
2020-10-28 21:39:39 +00:00
LLVM GN Syncbot
140ee27fee [gn build] Port 23ed570af1c 2020-10-28 20:46:36 +00:00
Valentin Clement
9b83f369c4 [openmp][openacc] Check for duplicate clauses for directive
Check for duplicate clauses associated with directive. Clauses can appear only once
in the 4 lists associated with each directive (allowedClauses, allowedOnceClauses,
allowedExclusiveClauses, requiredClauses). Duplicates were already present (removed with this
patch) or were introduce in new patches by mistake (D89861).

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D90241
2020-10-28 15:12:38 -04:00
Thomas Lively
04b9d0883f [WebAssembly] Prototype extending multiplication SIMD instructions
As proposed in https://github.com/WebAssembly/simd/pull/376. This commit
implements new builtin functions and intrinsics for these instructions, but does
not yet add them to wasm_simd128.h because they have not yet been merged to the
proposal. These are the first instructions with opcodes greater than 0xff, so
this commit updates the MC layer and disassembler to handle that correctly.

Differential Revision: https://reviews.llvm.org/D90253
2020-10-28 09:38:59 -07:00
LLVM GN Syncbot
ee39116789 [gn build] Port 23c8da25ef7 2020-10-28 13:16:58 +00:00
LLVM GN Syncbot
c157783fc3 [gn build] Port 47369e194a4 2020-10-28 12:31:40 +00:00
LLVM GN Syncbot
1a919179a5 [gn build] Port e025d09b216 2020-10-27 19:40:30 +00:00
LLVM GN Syncbot
c5ea71af15 [gn build] Port ce6900c6cb5 2020-10-27 19:40:29 +00:00
LLVM GN Syncbot
05d3fe531a [gn build] Port 46c3d5cb05d 2020-10-27 18:08:19 +00:00
LLVM GN Syncbot
3188a13350 [gn build] Port 850325348ae 2020-10-27 12:17:41 +00:00
Aaron Puchert
ec700eefc9 Add release tarballs for libclc
Fixes PR47917.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D90100
2020-10-26 20:33:24 +01:00
LLVM GN Syncbot
6d69d5bffc [gn build] Port 61bc18de0b2 2020-10-26 08:07:25 +00:00
Nathan Ridge
2f0a524fbb [clangd] Add a TestWorkspace utility
TestWorkspace allows easily writing tests involving multiple
files that can have inclusion relationships between them.

BackgroundIndexTest.RelationsMultiFile is refactored to use
TestWorkspace, and moved to FileIndexTest as it no longer
depends on BackgroundIndex.

Differential Revision: https://reviews.llvm.org/D89297
2020-10-24 20:15:17 -04:00
Arthur Eubanks
d924016b11 [gn build] Add missing comma 2020-10-23 12:01:23 -07:00