Commit Graph

1869 Commits

Author SHA1 Message Date
LLVM GN Syncbot 12903dbf9e [gn build] Port 0fda4c4745b8 2021-05-14 04:56:03 +00:00
Reid Kleckner b409d78956 [gn] Don't pass -fprofile-instr-generate to linker on Windows
Avoids a warning from the linker. The user still has to put the resource
directory on the linker search path, and I can't find a clean way to do
that automatically in gn.
2021-05-13 16:04:11 -07:00
Nico Weber 9d6d3a623d [gn build] (manually) port 92f9852fc99b, clang-repl 2021-05-13 08:53:53 -04:00
LLVM GN Syncbot 50ff07dfa0 [gn build] Port d8b37de8a478 2021-05-13 05:32:35 +00:00
LLVM GN Syncbot 36ab8e15c2 [gn build] Port e5d483f28a3a 2021-05-11 00:19:33 +00:00
LLVM GN Syncbot cc1727321f [gn build] Port 3b8d2be52725 2021-05-10 23:06:37 +00:00
Xiang1 Zhang 38ab3a2d9f [X86] Support AMX fast register allocation
Differential Revision: https://reviews.llvm.org/D100026
2021-05-08 14:21:11 +08:00
Xiang1 Zhang f668ad4ced Revert "[X86] Support AMX fast register allocation"
This reverts commit 77e2e5e07d01fe0b83c39d0c527c0d3d2e659146.
2021-05-08 13:43:32 +08:00
Xiang1 Zhang fe856bad78 [X86] Support AMX fast register allocation 2021-05-08 13:27:21 +08:00
Arthur Eubanks 1a92538daa [gn build] Manually port 5b158093e 2021-05-07 17:54:32 -07:00
LLVM GN Syncbot 45d120b829 [gn build] Port 98e5ede60499 2021-05-07 09:15:50 +00:00
LLVM GN Syncbot 6e72fd82c1 [gn build] Port 83af66e18e3d 2021-05-06 21:03:05 +00:00
Arthur Eubanks ce786f30a4 [gn build] Support compiler-rt/profile on Windows
Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D101961
2021-05-06 10:20:52 -07:00
Nico Weber 1917815d14 [gn build] (semi-manually) port 0b10bb7ddd3c more 2021-05-05 18:15:13 -04:00
Nico Weber 251ea083af [gn build] (semi-manually) port 0b10bb7ddd3c 2021-05-05 18:06:52 -04:00
LLVM GN Syncbot 4f8dc0e8fe [gn build] Port 600686d75f55 2021-05-05 04:57:55 +00:00
LLVM GN Syncbot 795d87c4aa [gn build] Port f2018d6c16d1 2021-05-05 03:54:38 +00:00
LLVM GN Syncbot 77a6a2e20b [gn build] Port 2021d272ad6c 2021-05-04 15:06:28 +00:00
Nico Weber d0f5fa8245 [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=
Use that for internal names (including the default ignorelists of the
sanitizers).

Differential Revision: https://reviews.llvm.org/D101832
2021-05-04 10:24:00 -04:00
LLVM GN Syncbot 972f33f6c0 [gn build] Port 1db4dbba24dd 2021-05-04 09:56:46 +00:00
LLVM GN Syncbot 006f3fb7f2 [gn build] Port ed51156084dd 2021-05-04 06:39:48 +00:00
LLVM GN Syncbot 744e7df7eb [gn build] Port 7310403e3cdf 2021-05-04 00:04:57 +00:00
LLVM GN Syncbot 74312e44fa [gn build] Port 1527a5e4b483 2021-05-03 12:53:10 +00:00
LLVM GN Syncbot 6038981d86 [gn build] Port 1977c53b2ae4 2021-05-02 02:55:47 +00:00
LLVM GN Syncbot 43818b0f1b [gn build] Port 02c5ba867987 2021-05-01 00:09:37 +00:00
LLVM GN Syncbot 586fbcca5e [gn build] Port 2d28100bf2e4 2021-04-30 20:17:55 +00:00
LLVM GN Syncbot e687ab5c5d [gn build] Port c6f20d70a8c9 2021-04-30 17:30:08 +00:00
LLVM GN Syncbot ac096d1d93 [gn build] Port 7c17731596e9 2021-04-30 17:00:36 +00:00
LLVM GN Syncbot 6ae64271ea [gn build] Port 5a3309f82576 2021-04-30 17:00:35 +00:00
LLVM GN Syncbot 4628abad24 [gn build] Port 43bc584dc05e 2021-04-30 13:48:40 +00:00
LLVM GN Syncbot 58df1159b1 [gn build] Port df323ba445f7 2021-04-29 16:59:58 +00:00
Benjamin Kramer 0c09b6edfc Revert "[X86] Support AMX fast register allocation"
This reverts commit 3b8ec86fd576b9808dc63da620d9a4f7bbe04372.

Revert "[X86] Refine AMX fast register allocation"

This reverts commit c3f95e9197643b699b891ca416ce7d72cf89f5fc.

This pass breaks using LLVM in a multi-threaded environment by
introducing global state.
2021-04-29 18:56:33 +02:00
Nico Weber cb9829a8a7 [clang] Make libBasic not depend on MC
Reduces numbers of files built for clang-format from 575 to 449.

Requires two small changes:

1. Don't use llvm::ExceptionHandling in LangOptions. This isn't
   even quite the right type since we don't use all of its values.
   Tweaks the changes made in:
   - https://reviews.llvm.org/D93215
   - https://reviews.llvm.org/D93216

2. Move section name validation code added (long ago) in commit 30ba67439 out
   of libBasic into Sema and base the check on the triple. This is a bit less
   OOP-y, but completely in line with what we do in many other places in Sema.

No behavior change.

Differential Revision: https://reviews.llvm.org/D101463
2021-04-28 12:16:22 -04:00
Nico Weber 6d9082f392 [gn build] (port) 64bc44f5dd and f8de9aaef2f some more 2021-04-28 09:59:07 -04:00
Nico Weber 1d5c16abd4 [clang/Basic] Make TargetInfo.h not use DataLayout again
Reverts parts of https://reviews.llvm.org/D17183, but keeps the
resetDataLayout() API and adds an assert that checks that datalayout string and
user label prefix are in sync.

Approach 1 in https://reviews.llvm.org/D17183#2653279
Reduces number of TUs build for 'clang-format' from 689 to 575.

I also implemented approach 2 in D100764. If someone feels motivated
to make us use DataLayout more, it's easy to revert this change here
and go with D100764 instead. I don't plan on doing more work in this
area though, so I prefer going with the smaller, more self-consistent change.

Differential Revision: https://reviews.llvm.org/D100776
2021-04-27 22:26:10 -04:00
Nico Weber 9b37a570c6 [gn build] (manually) port 82d3c0759fa0 2021-04-27 22:25:55 -04:00
LLVM GN Syncbot 869b0c1aeb [gn build] Port 241c2da4064c 2021-04-27 16:56:33 +00:00
LLVM GN Syncbot 5c759e0637 [gn build] Port 51495fd2855c 2021-04-27 05:57:29 +00:00
LLVM GN Syncbot ff7fda7c8a [gn build] Port d122d80b3d1c 2021-04-27 04:24:09 +00:00
LLVM GN Syncbot 480e72ac58 [gn build] Port 7aa3cad46ac3 2021-04-27 00:18:13 +00:00
LLVM GN Syncbot 9c52e66e6d [gn build] Port bbddadd46e46 2021-04-26 22:16:25 +00:00
LLVM GN Syncbot dd37ff4188 [gn build] Port caf1294d9578 2021-04-26 21:24:36 +00:00
LLVM GN Syncbot 7f8c840c70 [gn build] Port 8740360093b5 2021-04-26 21:04:24 +00:00
Nico Weber c4d20372c0 [gn build] reformat all gn files
$ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
2021-04-26 16:04:23 -04:00
Nico Weber 7195ece044 [gn build] (manually) port f8de9aaef2f4 2021-04-26 16:03:50 -04:00
LLVM GN Syncbot cc0eecb859 [gn build] Port 1cea7ab4ba13 2021-04-25 12:00:31 +00:00
LLVM GN Syncbot 1189a5806e [gn build] Port a354fd56c504 2021-04-25 11:27:54 +00:00
Xiang1 Zhang 6da00a5d84 [X86] Support AMX fast register allocation
Differential Revision: https://reviews.llvm.org/D100026
2021-04-25 09:45:41 +08:00
LLVM GN Syncbot a890a88aa7 [gn build] Port c623945d707c 2021-04-23 09:26:02 +00:00
Nico Weber 412c04b610 [gn build] (manually) port 0b2bc69ba29 2021-04-22 22:40:53 -04:00