Commit Graph

10385 Commits

Author SHA1 Message Date
Nico Weber
98d0f8f2ff Revert "[gn build] (manually) port 6fe2beba7d (ExceptionTests)"
This reverts commit da47c2719b.
6fe2beba7d was reverted in 8859640461.
2021-09-03 09:19:11 -04:00
Nico Weber
da47c2719b [gn build] (manually) port 6fe2beba7d (ExceptionTests) 2021-09-03 09:01:24 -04:00
LLVM GN Syncbot
53486ea159 [gn build] Port a375bfb5b7 2021-09-03 11:51:19 +00:00
LLVM GN Syncbot
62bbae8407 [gn build] Port 2ed91da0f1 2021-09-03 08:53:21 +00:00
LLVM GN Syncbot
6cc5333650 [gn build] Port dad60f8071 2021-09-02 22:29:41 +00:00
LLVM GN Syncbot
621a615372 [gn build] Port 0922ce56f4 2021-09-01 17:49:53 +00:00
Christudasan Devadasan
6a75041a16 [TableGen] Allow target specific flags for RegisterClass
Analogous to the TSFlags for machine instructions, this
patch introduces a bit vector for register classes to have
target specific flags that become a tablegened value in
TargetRegisterClass.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D108767
2021-08-31 22:29:11 -04:00
LLVM GN Syncbot
9c37eda6e4 [gn build] Port e983a659e5 2021-08-31 16:45:24 +00:00
LLVM GN Syncbot
22efb9d364 [gn build] Port 3285c7a436 2021-08-31 13:47:38 +00:00
Shivam Gupta
0d02aa6e43 [NFC] Correct typo in CodeGenMapTable.cpp, patch by Jordi
CodeGenMapTable.cpp refers to TableGen as TabelGen in the comments. This appears to be a typo. This patch fixes the typo.

Differential Revision: https://reviews.llvm.org/D76343
2021-08-31 13:04:33 +05:30
Sylvestre Ledru
c58c0993c9 test-release.sh: remove an unused reference to the old svn repo 2021-08-29 17:45:19 +02:00
Michał Górny
2f69c82cec [llvm] [lit] Support forcing lexical test order
Add a new --order option to choose between available test orders:
the default "smart" order, predictable "lexical" order or "random"
order.  Default to using lexical order and one job in the lit test
suite.

Differential Revision: https://reviews.llvm.org/D107695
2021-08-27 20:47:11 +02:00
LLVM GN Syncbot
d4d008f7d7 [gn build] Port 54e8cae565 2021-08-27 17:29:43 +00:00
LLVM GN Syncbot
e57205b555 [gn build] Port c8b14c03ec 2021-08-27 16:46:52 +00:00
Arthur Eubanks
77b6a4bde4 [gn build] Don't copy xray includes
The gn build doesn't support xray, so there's no reason to make the xray
headers available. Some CMake checks check if xray includes are
available to determine if xray is usable. Since we don't build the xray
runtime, there are link errors.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D108737
2021-08-27 08:51:27 -07:00
LLVM GN Syncbot
f8df807653 [gn build] Port b749ef9e22 2021-08-27 04:42:51 +00:00
LLVM GN Syncbot
9ade9d9ac1 [gn build] Port ee44dd8062 2021-08-26 18:08:07 +00:00
LLVM GN Syncbot
70f3ccb6a2 [gn build] Port 1076082a0d 2021-08-26 16:28:53 +00:00
LLVM GN Syncbot
6894552a74 [gn build] Port 21b25a1fb3 2021-08-26 08:14:37 +00:00
LLVM GN Syncbot
fdefde4965 [gn build] Port 3373e84539 2021-08-26 07:29:05 +00:00
Arthur Eubanks
1bdeafeaf4 [gn build] Unbreak non-clang host builds
eecd5d0a broke non-clang host builds.
Some crt code is not always built with the just-built clang.

0da172b checked if the compiler is clang, not assert that the compiler
is clang.
2021-08-25 16:14:45 -07:00
LLVM GN Syncbot
8e135a6d08 [gn build] Port fe01014faa 2021-08-25 19:14:11 +00:00
Arthur Eubanks
4b7621c485 [gn build] Add missing dependency required by 832aae73 2021-08-25 10:13:23 -07:00
LLVM GN Syncbot
b0b26ae4b3 [gn build] Port 48958d02d2 2021-08-25 09:02:08 +00:00
serge-sans-paille
46c947af7e Have lit preserve SOURCE_DATE_EPOCH
This environment variable has been standardized for reproducible builds. Setting
it can help to have reproducible tests too, so keep it as part of the testing
env when set.

See https://reproducible-builds.org/docs/source-date-epoch/

Differential Revision: https://reviews.llvm.org/D108332
2021-08-25 10:38:20 +02:00
Nico Weber
2847b8b6ff [gn build] Manually port dbed061b more 2021-08-24 21:02:13 -04:00
Nico Weber
5f0d265b15 [gn build] (manually) port 87dd51983c 2021-08-24 16:40:44 -04:00
Arthur Eubanks
d2e103644b [llvm-reduce] Remove various module data
This removes the data layout, target triple, source filename, and module
identifier when possible.

Reviewed By: swamulism

Differential Revision: https://reviews.llvm.org/D108568
2021-08-24 09:45:31 -07:00
Haowei Wu
253cb50c60 [lit] Add the option to output test result as resultdb json format
This change adds the option --resultdb-output=path allow llvm-lit
generating LuCI ResultDB JSON output for the test results, which
can be better integrated with certain CI/CQ framework.

Differential Revision: https://reviews.llvm.org/D108238
2021-08-23 17:00:50 -07:00
LLVM GN Syncbot
93de779d63 [gn build] Port 7f99337f9b 2021-08-21 09:44:22 +00:00
LLVM GN Syncbot
fa4132dc88 [gn build] Port e6407356ba 2021-08-20 06:14:22 +00:00
LLVM GN Syncbot
9b0f292e82 [gn build] Port 642885710e 2021-08-20 05:16:08 +00:00
LLVM GN Syncbot
fe658c3f6e [gn build] Port 5fdaaf7fd8 2021-08-19 01:52:47 +00:00
LLVM GN Syncbot
a0ed44943a [gn build] Port d8bbfe8a48 2021-08-18 21:58:30 +00:00
Peter Collingbourne
b2e77cd095 gn build: Build libclang.so and libLTO.so on ELF platforms.
This requires changing the ELF build to enable -fPIC, consistent
with other platforms.

Differential Revision: https://reviews.llvm.org/D108223
2021-08-18 13:48:33 -07:00
LLVM GN Syncbot
0dfce025c4 [gn build] Port 38812f4ac1 2021-08-18 14:02:48 +00:00
LLVM GN Syncbot
26da53f5b6 [gn build] Port 45ac5f5441 2021-08-18 10:43:22 +00:00
LLVM GN Syncbot
f58c0a962c [gn build] Port d1ec581ebf 2021-08-18 08:10:40 +00:00
LLVM GN Syncbot
6724d82ee2 [gn build] Port e256445bff 2021-08-18 05:02:05 +00:00
Jinsong Ji
3c4fad6a69 [LIT]Accept cat_64 command name on AIX in shtest
AIX may use cat_64 for 64 bit cat, this is just update the lit test to accept the name as well.

Reviewed By: #powerpc, shchenz

Differential Revision: https://reviews.llvm.org/D108149
2021-08-17 14:05:30 +00:00
Nico Weber
20170447b0 [gn build] (manually) port 957334382c 2021-08-15 13:21:36 -04:00
LLVM GN Syncbot
a00eb48059 [gn build] Port df324bba5c 2021-08-13 18:34:09 +00:00
LLVM GN Syncbot
95795e9d6e [gn build] Port 7b20e05c71 2021-08-13 18:34:09 +00:00
LLVM GN Syncbot
76beb4184c [gn build] Port 2ff7ca98a9 2021-08-13 01:31:18 +00:00
Nico Weber
1899112037 [gn build] manually port 18f9e25ce1 (AttrDocTable)
Also clang ClangAttrEmitter for -gen-clang-attr-doc-table to be
like all other tablegen: Produce a .inc file with the generated bits
and put the static parts into a regular .cpp file that includes the
.inc file.
2021-08-12 21:30:59 -04:00
LLVM GN Syncbot
f5d32c56ee [gn build] Port 4ac87e3378 2021-08-12 17:16:05 +00:00
LLVM GN Syncbot
876664317a [gn build] Port d2c5cbc3a8 2021-08-12 15:33:09 +00:00
LLVM GN Syncbot
62c08c021d [gn build] Port 89a7bdb1f3 2021-08-11 14:16:15 +00:00
LLVM GN Syncbot
f6425dfcbe [gn build] Port 2021-08-11 08:16:37 +00:00
LLVM GN Syncbot
d41de8ed26 [gn build] Port 58915667d0 2021-08-11 02:07:04 +00:00