1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
Commit Graph

447 Commits

Author SHA1 Message Date
Nico Weber
e2467e90d2 gn build: Merge r355546
Found by inspection; the sync script doesn't sync .ipp files.

llvm-svn: 365280
2019-07-07 16:49:44 +00:00
Nico Weber
dfc0406e0c gn build: Merge r365273
llvm-svn: 365279
2019-07-07 16:44:07 +00:00
Nico Weber
eef490604b gn build: Sort sync script output
llvm-svn: 365278
2019-07-07 16:40:29 +00:00
Nico Weber
8068f51abb gn build: Sort cxx_sources in libcxx build file
Since these are in a custom list, `gn format` doesn't automatically sort
them.

Now their order matches the CMake build.

No additions or deletions, this just sorts the files that are there.

llvm-svn: 365277
2019-07-07 16:36:11 +00:00
Nico Weber
bd74264c7d gn build: Merge r365258 and follow-ups r365263, r365264
llvm-svn: 365276
2019-07-07 15:43:32 +00:00
Nico Weber
a963a94a23 gn build: Merge r365203
llvm-svn: 365213
2019-07-05 15:14:06 +00:00
Nico Weber
24ec7afabe gn build: Merge r365179
llvm-svn: 365185
2019-07-05 11:34:48 +00:00
Peter Collingbourne
2b7fc385f9 gn build: Merge r365130.
llvm-svn: 365167
2019-07-05 01:11:20 +00:00
Peter Collingbourne
f3e1554185 gn build: Merge r365103.
llvm-svn: 365166
2019-07-05 01:11:18 +00:00
Peter Collingbourne
b5743da917 gn build: Merge r365007.
llvm-svn: 365165
2019-07-05 01:11:16 +00:00
Peter Collingbourne
d71bef0e75 gn build: Merge r365091.
llvm-svn: 365164
2019-07-05 01:11:14 +00:00
Vitaly Buka
435ba65fb9 Fix GN build
llvm-svn: 364942
2019-07-02 16:08:10 +00:00
Nico Weber
09c8d9930c gn build: Merge r364866
llvm-svn: 364908
2019-07-02 11:20:40 +00:00
Reid Kleckner
eeac50f7f8 [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*
These lit configuration files are really Python source code. Using the
.py file extension helps editors and tools use the correct language
mode. LLVM and Clang already use this convention for lit configuration,
this change simply applies it to all of compiler-rt.

Reviewers: vitalybuka, dberris

Differential Revision: https://reviews.llvm.org/D63658

llvm-svn: 364591
2019-06-27 20:56:04 +00:00
Vitaly Buka
0f648b5b0c [GN] Update build file
llvm-svn: 364583
2019-06-27 19:55:22 +00:00
Vitaly Buka
8f240244c0 [GN] Set exit code to 1 if changes are needed
llvm-svn: 364582
2019-06-27 19:55:21 +00:00
Nico Weber
56e3e24e15 gn build: Follow-up to r364491 "[GN] Update build files"
- Merge r364427 (GSYM lib) more: It was missing the new unit test
  (as pointed out by llvm/utils/gn/build/sync_source_lists_from_cmake.py),
  and it had some superfluous deps not present in the cmake build.

- Merge r364474 (clang DependencyScanning lib) more: The deps didn't
  quite match cmake.

llvm-svn: 364501
2019-06-27 06:08:57 +00:00
Vitaly Buka
b124a6f641 [GN] Fix check-llvm
llvm-svn: 364493
2019-06-27 01:35:47 +00:00
Vitaly Buka
e36b0ead66 [GN] Update build files
llvm-svn: 364491
2019-06-27 01:34:19 +00:00
Clement Courbet
32162cf4ab Revert "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline."
Breaks sanitizers:
    libFuzzer :: cxxstring.test
    libFuzzer :: memcmp.test
    libFuzzer :: recommended-dictionary.test
    libFuzzer :: strcmp.test
    libFuzzer :: value-profile-mem.test
    libFuzzer :: value-profile-strcmp.test

llvm-svn: 364416
2019-06-26 12:13:13 +00:00
Clement Courbet
147c7c78fd [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline.
This allows later passes (in particular InstCombine) to optimize more
cases.

One that's important to us is `memcmp(p, q, constant) < 0` and memcmp(p, q, constant) > 0.

llvm-svn: 364412
2019-06-26 11:50:18 +00:00
Nico Weber
6ef9079baa gn build: Merge r364387
llvm-svn: 364411
2019-06-26 11:44:54 +00:00
Nico Weber
567eeeb5cb gn build: Merge r364386
llvm-svn: 364409
2019-06-26 11:35:28 +00:00
Nico Weber
c32aa991f5 gn build: Merge r364389
llvm-svn: 364408
2019-06-26 11:33:56 +00:00
Peter Collingbourne
0a5233631d gn build: Merge r364288.
llvm-svn: 364374
2019-06-26 01:52:22 +00:00
Petr Hosek
2d4cc0324c [GN] Generation failure caused by trailing space in file name
When I executed gn.py gen out/gn I got the following error:

ERROR at //compiler-rt/lib/builtins/BUILD.gn:162:7: Only source, header, and object files belong in the sources of a static_library. //compiler-rt/lib/builtins/emutls.c  is not one of the valid types.
      "emutls.c ",
      ^----------
See //compiler-rt/lib/BUILD.gn:3:5: which caused the file to be included.
    "//compiler-rt/lib/builtins",
    ^---------------------------
It turns out to be that the latest gn doesn't accept ill-format file name. And the emutls.c above has a trailing space.
Remove the trailing space should work.

Patch By: myhsu
Differential Revision: https://reviews.llvm.org/D63449

llvm-svn: 364162
2019-06-23 23:12:10 +00:00
Peter Collingbourne
db30d3db90 gn build: Merge r364046.
llvm-svn: 364116
2019-06-22 00:03:53 +00:00
Vitaly Buka
dd00882728 [GN] Fix check-clang by disabling plugins
We can't link Analysis/plugins without -fPIC

llvm-svn: 364016
2019-06-21 09:54:32 +00:00
Vitaly Buka
74d422f345 [GN] Put libcxx include into the same place as cmake to fix Driver/print-file-name.c test
llvm-svn: 364015
2019-06-21 09:54:31 +00:00
Vitaly Buka
a8a4c789d1 [GN] Fix build
llvm-svn: 364004
2019-06-21 02:15:07 +00:00
Nico Weber
43fce14f4a gn build: Merge r363948
llvm-svn: 363960
2019-06-20 18:18:40 +00:00
Peter Collingbourne
c5718594b4 gn build: Merge r363757.
llvm-svn: 363865
2019-06-19 19:11:23 +00:00
Peter Collingbourne
ab2c5fbe14 gn build: Merge r363848.
llvm-svn: 363864
2019-06-19 19:11:14 +00:00
Peter Collingbourne
ca689c2a08 gn build: Merge r363846.
llvm-svn: 363863
2019-06-19 19:11:05 +00:00
Peter Collingbourne
6e889c81f7 gn build: Merge r363794.
llvm-svn: 363862
2019-06-19 19:10:56 +00:00
Peter Collingbourne
8456358650 gn build: Merge r363680.
llvm-svn: 363861
2019-06-19 19:10:47 +00:00
Peter Collingbourne
a3871004ab gn build: Merge r363712.
llvm-svn: 363860
2019-06-19 19:10:38 +00:00
Nico Weber
106284874f gn build: Merge r363658
llvm-svn: 363673
2019-06-18 12:29:04 +00:00
Nico Weber
a55cae1e66 gn build: Merge r363649
This reverts commit "gn build: Merge r363626" because r363626
was reverted in r363649.

llvm-svn: 363672
2019-06-18 12:26:31 +00:00
Peter Collingbourne
5b2ec1b30d gn build: Merge r363626.
llvm-svn: 363634
2019-06-17 23:39:31 +00:00
Peter Collingbourne
b1afe40af5 gn build: Merge r363483.
llvm-svn: 363610
2019-06-17 20:03:11 +00:00
Peter Collingbourne
54e38a1e56 gn build: Merge r363584.
llvm-svn: 363609
2019-06-17 19:59:16 +00:00
Nico Weber
9848cb5275 gn build: Merge r363541
llvm-svn: 363583
2019-06-17 17:45:12 +00:00
Nico Weber
c377505761 gn build: Merge r363530
llvm-svn: 363549
2019-06-17 12:18:27 +00:00
Nico Weber
3f76d78820 gn build: Merge r363444
llvm-svn: 363505
2019-06-16 02:24:01 +00:00
Nico Weber
a2154ca0c7 gn build: Add NVPTX target
The NVPTX target is a bit unusual in that it's the only target without a
disassembler, and one of three targets without an asm parser (and the
first one of those three in the gn build). NVPTX doesn't have those
because it's not a binary format.

The CMake build checks for the existence of
{AsmParser,Disassembler}/CMakeLists.txt when setting
LLVM_ENUM_ASM_PARSERS / LLVM_ENUM_DISASSEBLERS
(http://llvm-cs.pcc.me.uk/CMakeLists.txt#744). The GN build doesn't want
to hit the disk for things like this, so instead I'm adding explicit
`targets_with_asm_parsers` and `targets_with_disassemblers` lists. Since
both are needed rarely, they are defined in their own gni files.

Differential Revision: https://reviews.llvm.org/D63210

llvm-svn: 363437
2019-06-14 18:07:00 +00:00
Nico Weber
837241307e gn build: Simplify Target build files
Now that the cycle between MCTargetDesc and TargetInfo is gone
(see revisions 360709 360718 360722 360724 360726 360731 360733 360735 360736),
remove the dependency from TargetInfo on MCTargetDesc:tablegen. In most
targets, this makes MCTargetDesc:tablegen have just a single use, so
inline it there.

For AArch64, ARM, and RISCV there's still a similar cycle between
MCTargetDesc and Utils, so the MCTargetDesc:tablegen indirection is
still needed there.

Differential Revision: https://reviews.llvm.org/D63200

llvm-svn: 363436
2019-06-14 17:58:34 +00:00
Nico Weber
a2bb38a508 gn build: Merge r363376
llvm-svn: 363378
2019-06-14 12:31:18 +00:00
Nico Weber
6b6852bab8 gn build: Merge r363204 (clang-scan-deps)
llvm-svn: 363353
2019-06-14 04:26:01 +00:00
Nico Weber
7d8d84a0ca gn build: Merge r363242
llvm-svn: 363324
2019-06-13 20:25:18 +00:00