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

1659 Commits

Author SHA1 Message Date
Louis Dionne
85de81a5d4 [libc++] Rename include/support to include/__support
We do ship those headers, so the directory name should not be something
that can potentially conflict with user-defined directories.

Differential Revision: https://reviews.llvm.org/D95956
2021-02-04 10:16:33 -05:00
Nico Weber
e65f0c4dde [gn build] (manually) port 0609f257dc2e2c3 2021-02-04 06:52:55 -05:00
Arthur Eubanks
213c28c3fc [NewPM][HelloWorld] Move HelloWorld to Utils
To prevent creating a new component, which creates a new library.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D95907
2021-02-03 12:59:40 -08:00
LLVM GN Syncbot
6b9c4c8b9d [gn build] Port fcf03e728007 2021-02-03 05:46:53 +00:00
LLVM GN Syncbot
2e1b6416a6 [gn build] Port 4f58b1bd2974 2021-02-02 22:57:59 +00:00
LLVM GN Syncbot
cbac188e3a [gn build] Port b63cd4db915c 2021-02-01 14:24:45 +00:00
Nico Weber
b2ad6dcaa3 [gn build] port e90e455d2a0cc 2021-01-29 08:36:19 -05:00
Nico Weber
8b8c200116 [gn build] (semi-manually) port 2ff8662b5d16 2021-01-29 06:48:17 -05:00
Nico Weber
73c25457d6 [gn build] (manually) port 081c1db02dd2 more 2021-01-28 13:32:49 -05:00
Nico Weber
05a869f16d [gn build] (manually) port 3b625060fc915 2021-01-28 13:26:37 -05:00
Nico Weber
35efce7942 [gn build] (semi-manually) port 081c1db02dd2 2021-01-28 13:05:10 -05:00
LLVM GN Syncbot
7f9359f621 [gn build] Port 0b50fa99452f 2021-01-27 18:55:59 +00:00
Tom Stellard
1a410d196a Bump the trunk major version to 13
and clear the release notes.
2021-01-26 19:37:55 -08:00
LLVM GN Syncbot
8cadd79a8e [gn build] Port bb9eb1982980 2021-01-27 01:23:23 +00:00
Nico Weber
696b1678eb [gn build] fix get.py change 2021-01-26 19:20:23 -05:00
Nico Weber
5eefc4a62f [gn build] restore build command removed in 9595a7ff55b6 for platforms without prebuilts 2021-01-26 19:19:31 -05:00
LLVM GN Syncbot
80d5e143a6 [gn build] Port 1e634f3952aa 2021-01-26 20:48:31 +00:00
LLVM GN Syncbot
364bd7857e [gn build] Port 4edf35f11a9e 2021-01-26 19:12:09 +00:00
LLVM GN Syncbot
37f3352001 [gn build] Port e123cd674c02 2021-01-25 20:11:10 +00:00
LLVM GN Syncbot
06a1ff4c94 [gn build] Port 0057cc5a215e 2021-01-23 14:07:39 +00:00
LLVM GN Syncbot
f4c75ab0c3 [gn build] Port 2325157c0568 2021-01-23 13:38:51 +00:00
LLVM GN Syncbot
7e2c4e2399 [gn build] Port 622eaa4a4cea 2021-01-22 21:40:40 +00:00
LLVM GN Syncbot
17857e2d95 [gn build] Port 8214982b5042 2021-01-22 10:24:45 +00:00
Arthur Eubanks
d815d3c37a [AMDGPU][Inliner] Remove amdgpu-inline and add a new TTI inline hook
Having a custom inliner doesn't really fit in with the new PM's
pipeline. It's also extra technical debt.

amdgpu-inline only does a couple of custom things compared to the normal
inliner:
1) It disables inlining if the number of BBs in a function would exceed
   some limit
2) It increases the threshold if there are pointers to private arrays(?)

These can all be handled as TTI inliner hooks.
There already exists a hook for backends to multiply the inlining
threshold.

This way we can remove the custom amdgpu-inline pass.

This caused inline-hint.ll to fail, and after some investigation, it
looks like getInliningThresholdMultiplier() was previously getting
applied twice in amdgpu-inline (https://reviews.llvm.org/D62707 fixed it
not applying at all, so some later inliner change must have fixed
something), so I had to change the threshold in the test.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D94153
2021-01-21 20:29:17 -08:00
LLVM GN Syncbot
deba19576e [gn build] Port d38be2ba0e4e 2021-01-21 23:19:45 +00:00
LLVM GN Syncbot
9c6a63c9cf [gn build] Port 95ce32c7878d 2021-01-20 21:18:20 +00:00
Nico Weber
eff35cf5f2 [gn build] fix libcxx gn file with libcxx_abi_namespace set 2021-01-19 19:02:40 -05:00
Nico Weber
b16664144b [gn build] (manually) port 933518fff82c 2021-01-19 18:51:39 -05:00
Nico Weber
b1b4ed33f2 [gn build] (manually) port 387d3c24792f 2021-01-14 16:19:25 -05:00
Valentin Clement
53b440883c [openacc] Rename generated file from ACC.cpp.inc to ACC.inc to match D92955
This patch rename the tablegen generated file ACC.cpp.inc to ACC.inc in order
to match what was done in D92955. This file is included in header file as well as .cpp
file so it make more sense.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D93485
2021-01-14 14:19:53 -05:00
LLVM GN Syncbot
9ef2e47fbb [gn build] Port 2f395b7092bd 2021-01-14 17:39:58 +00:00
LLVM GN Syncbot
f78fe9df8c [gn build] Port 60fda8ebb6d 2021-01-13 17:33:32 +00:00
Nico Weber
6de70967d2 [gn build] Reorganize libcxx/include/BUILD.gn a bit
- Merge 6706342f48bea80 -- no more libcxx_needs_site_config, we now
  always need it
- Since it was always off in practice, write_config bitrot. Unbitrot
  it so that it works
- Remove copy step and let concat step write to final location
  immediately -- and fix copy destination directory

As a side effect, libcxx/include/BUILD.gn now has only a single
sources list, which means the cmake sync script should be able to
automatically sync additions and removals of .h files. On the flipside,
this means this file now must be updated after most changes to
libcxx/include/__config_site.in, and looking through the last few months
of changes this looks like it's going to be a wash.
2021-01-12 21:30:06 -05:00
Nico Weber
e05a72deb7 [gn build] (manually) port 79f99ba65d96 2021-01-12 20:30:56 -05:00
Nico Weber
756bebbe9c [gn build] Make an explicit use_lld = true on mac use lld.darwinnew
use_lld defaults to true on non-mac if clang_base_path is set (i.e.
the host compiler is a locally-built clang). On mac, the lld Mach-O
port used to be unusable, but ld64.lld.darwinnew is close to usable.
When explicitly setting `use_lld = true` in a GN build on a mac host,
check-lld passes, two check-clang tests fail, and a handful check-llvm
tests fail (the latter all due to -flat_namespace not yet being implemented).
2021-01-09 14:03:52 -05:00
LLVM GN Syncbot
3c6978b84b [gn build] Port 9c4b2225b24 2021-01-08 13:30:54 +00:00
LLVM GN Syncbot
24d9c59a2f [gn build] Port 6b0ee02747e 2021-01-08 04:23:02 +00:00
Nico Weber
c19eaf196b [gn build] (manually) merge a whole bunch of libc++ header files
I noticed __availability was missing, so I manually diffed the
file lists and put all recently(ish) added headers:
* __availability from 2eadbc86142ba
* concepts from 601f7631827ae
* execution from 0a06eb911b830
* numbers from 4f6c4b473c4a5

Also remove libcxx_install_support_headers like the CMake build did in
6706342f48bea, and unconditionally copy
support/win32/{limits_msvc_win32.h,locale_win32.h} like the CMake
build always did as far as I can tell.
2021-01-07 22:09:35 -05:00
LLVM GN Syncbot
3c9a944600 [gn build] Port b12f26733a4 2021-01-08 02:19:24 +00:00
LLVM GN Syncbot
c49ed45f02 [gn build] Port d2ddc694ff9 2021-01-07 08:29:23 +00:00
LLVM GN Syncbot
99dc57aa1b [gn build] Port fec1a442e3b 2021-01-05 15:34:25 +00:00
LLVM GN Syncbot
c85ea1170a [gn build] Port 5799fc79c3f 2021-01-02 22:46:43 +00:00
Nico Weber
853eb716ef [gn build] (manually) port 5e31e226b5: Use Py3 for the build
Made necessary by 20670ba440, the first Py3-only change.
2021-01-01 22:14:03 -05:00
Nico Weber
43b6fad3a7 [gn build] Switch copy_bundle_data from pax to cpio
This will hopefully fix the build not becoming clean when using Ninja
1.9+. Ninja 1.9 enabled high-resolution time stamps, but pax doesn't
correctly set high-resolution timestamps on its output.

See https://github.com/nico/hack/blob/master/notes/copydir.md for a
detailed writeup of problem and alternatives.
2020-12-30 13:59:03 -05:00
LLVM GN Syncbot
6c090490e1 [gn build] Port 480936e741d 2020-12-30 00:40:53 +00:00
LLVM GN Syncbot
8e2bd407c8 [gn build] Port 16c8f6e9134 2020-12-30 00:29:58 +00:00
LLVM GN Syncbot
3c9678a435 [gn build] Port 21314940c48 2020-12-29 23:18:48 +00:00
Arthur Eubanks
0c3d18722c [NewPM][AMDGPU] Port amdgpu-simplifylib/amdgpu-usenative
And add them to the pipeline via
AMDGPUTargetMachine::registerPassBuilderCallbacks(), which mirrors
AMDGPUTargetMachine::adjustPassManager().

These passes can't be unconditionally added to PassRegistry.def since
they are only present when the AMDGPU backend is enabled. And there are
no target-specific headers in llvm/include, so parsing these pass names
must occur somewhere in the AMDGPU directory. I decided the best place
was inside the TargetMachine, since the PassBuilder invokes
TargetMachine::registerPassBuilderCallbacks() anyway. If we come up with
a cleaner solution for target-specific passes in the future that's fine,
but there aren't too many target-specific IR passes living in
target-specific directories so it shouldn't be too bad to change in the
future.

Reviewed By: ychen, arsenm

Differential Revision: https://reviews.llvm.org/D93863
2020-12-28 10:38:51 -08:00
Nico Weber
fb2ad81e99 clang: Build and run FrontendTests with CLANG_ENABLE_STATIC_ANALYZER=OFF too
They seem to pass fine with the analyzer off, and with this I would've
noticed my last check-clang break locally.
2020-12-23 14:27:09 -05:00
Nico Weber
88d23da9ea [gn build] (manually) port b8c37153d5393 2020-12-22 06:35:40 -05:00