1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
Commit Graph

8498 Commits

Author SHA1 Message Date
Reid Kleckner
60f03b6862 [gn] Use ghash if using clang & LLD together to make PDBs
I noticed my links were a bit slower on Windows than usual.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D75774
2020-03-09 15:23:54 -07:00
LLVM GN Syncbot
4d2e4895b4 [gn build] Port 1e0669bfe05 2020-03-09 21:59:49 +00:00
Arthur Eubanks
421f0976bd Fix typo in gn files
SKD -> SDK
2020-03-09 13:33:13 -07:00
LLVM GN Syncbot
31973e0dfa [gn build] Port 3486cc014b2 2020-03-09 17:56:57 +00:00
LLVM GN Syncbot
671aab6f20 [gn build] Port 882f589e20d 2020-03-09 16:03:39 +00:00
LLVM GN Syncbot
599dfc4b73 [gn build] Port 57c964aaa76 2020-03-08 11:50:36 +00:00
Nico Weber
4e4163852d [gn build] copy compiler-rt headers to clang include dir on all platforms 2020-03-06 21:55:56 -05:00
Yuanfang Chen
3469e7634a Add some more vscode files
On top of existing TableGen file syntax highlighting, added
- IR syntax highlighting
- LIT test output patterMatcher
- etc.
2020-03-05 19:31:28 -08:00
Fangrui Song
14988e9953 [PowerPC] Delete PPCMachObjectWriter and powerpc{,64}-apple-darwin
Reviewed By: #powerpc, sfertile

Differential Revision: https://reviews.llvm.org/D75494
2020-03-05 11:05:26 -08:00
LLVM GN Syncbot
cf41359f7a [gn build] Port cada5b881b6 2020-03-05 10:56:10 +00:00
Fangrui Song
a84de5bb19 [gn build] Fix llvm-gsymutil after D75291 2020-03-03 16:37:52 -08:00
Greg Clayton
5516acaf24 Rename "llvm-gsym" to "llvm-gsymutil" and fix dependencies.
Summary: This patch renames the "llvm-gsym" tool directory to "llvm-gsymutil". Dependencies are also reduced to the bare minimum for llvm-gsymutil.

Reviewers: aprantl, thakis

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75291
2020-03-03 14:13:29 -08:00
LLVM GN Syncbot
43cf3f2cf3 [gn build] Port c84532a70aa 2020-03-03 18:25:30 +00:00
LLVM GN Syncbot
ecb1818474 [gn build] Port ae4d39c9e4a 2020-03-03 15:41:46 +00:00
LLVM GN Syncbot
11214da374 [gn build] Port 613f791131e 2020-03-03 14:16:22 +00:00
LLVM GN Syncbot
e757d85d67 [gn build] Port 3a063d68e3c 2020-03-03 13:33:01 +00:00
LLVM GN Syncbot
4fc212f78b [gn build] Port 3755039c99d 2020-03-03 13:33:01 +00:00
LLVM GN Syncbot
a04ca9f614 [gn build] Port 1454c27b604 2020-03-03 11:18:38 +00:00
Hans Wennborg
8359a9314c Revert "Reland "[gn build] (manually) merge 68a235d07f9e70""
This reverts commit 94d4ca90040a5f55ee29f48043881437de56681e.

I reverted 68a235d07f9e70 again in
916be8fd6a0a0feea4cefcbeb0c22c65848d7a2e.
2020-03-03 11:21:11 +01:00
Joerg Sonnenberger
633e2c035f Explicitly include <cassert> when using assert
Depending on the OS used, a module-enabled build can fail due to the
special handling <cassert> gets as textual header.
2020-03-02 22:45:28 +01:00
LLVM GN Syncbot
365f9e08a5 [gn build] Port 49684f9db5c 2020-03-02 17:35:47 +00:00
LLVM GN Syncbot
135a140d05 [gn build] Port 5a1958f2673 2020-03-02 09:02:51 +00:00
Reid Kleckner
80428fb35f Avoid including FileSystem.h from MemoryBuffer.h
Lots of headers pass around MemoryBuffer objects, but very few open
them. Let those that do include FileSystem.h.

Saves ~250 includes of Chrono.h & FileSystem.h:

$ diff -u thedeps-before.txt thedeps-after.txt | grep '^[-+] ' | sort | uniq -c | sort -nr
    254 -    ../llvm/include/llvm/Support/FileSystem.h
    253 -    ../llvm/include/llvm/Support/Chrono.h
    237 -    ../llvm/include/llvm/Support/NativeFormatting.h
    237 -    ../llvm/include/llvm/Support/FormatProviders.h
    192 -    ../llvm/include/llvm/ADT/StringSwitch.h
    190 -    ../llvm/include/llvm/Support/FormatVariadicDetails.h
...

This requires duplicating the file_t typedef, which is unfortunate. I
sunk the choice of mapping mode down into the cpp file using variable
template specializations instead of class members in headers.
2020-02-29 12:30:23 -08:00
Jordan Rupprecht
00276e417e [NFC] Fix minor python issues.
* llvm-gisel-cov.py: extra `)` after print
* chunk-print-before-all.py: py2-only print method
2020-02-28 14:17:43 -08:00
Jay Foad
5763faae81 [Utils] Make some scripts directly executable 2020-02-28 13:39:54 +00:00
LLVM GN Syncbot
cff53cb2cb [gn build] Port 6af859dcca2 2020-02-28 11:49:23 +00:00
LLVM GN Syncbot
f74056c4dc [gn build] Port b0142cd9867 2020-02-27 20:40:16 +00:00
LLVM GN Syncbot
6b398fe33b [gn build] Port 3c36d8dad57 2020-02-26 16:09:48 +00:00
Nico Weber
62d32d531a [gn build] re-"gn format" all gn files 2020-02-26 08:38:34 -05:00
Nico Weber
897342c406 [gn build] (manually) port 2f6cc21f44e 2020-02-26 08:36:05 -05:00
Nico Weber
2719a69c96 [gn build] (manually) merge e058667a2e01 2020-02-26 07:33:32 -05:00
Adrian Prantl
1760eceffa Fix a null dereference in the LLDB data formatters. 2020-02-25 16:43:55 -08:00
Hans Wennborg
c127d68e31 Fix DfaEmitter::visitDfaState() crash in MSVC x86 debug builds (PR44945)
No functionality change (intended), but this seems to make the code a
bit clearer for the compiler and maybe for human readers too.
2020-02-25 15:18:41 +01:00
Nico Weber
c0713c8977 [gn build] (manually) merge fee41517fe0f 2020-02-25 07:19:49 -05:00
Hans Wennborg
96d1f4da3f build_llvm_package.bat: Produce zip files in addition to the installers
Now that the Windows installer no longer does anything besides
self-extract, maybe it would make sense to distribute the toolchain as a
plain zip file in addition to the current installer.

Differential revision: https://reviews.llvm.org/D74896
2020-02-25 12:14:07 +01:00
Peter Collingbourne
160569ecbc Revert "Rework go bindings so that validation works fine"
And add llvm-go back to the test dependencies.

No longer necessary now that llvm-go has been brought back.

This reverts commit e8f8873da5eaad187f82dad78ebdb3ab3df22b36.
2020-02-24 09:20:08 -08:00
Nico Weber
20604c502d [gn build] remove -std=c++11 in libcxx build pending discussion in 80e73f2 review thread 2020-02-24 12:10:40 -05:00
Nico Weber
86e348b857 [gn build] (manually) merge 54fa9ecd308 2020-02-24 11:42:32 -05:00
Bevin Hansson
d148a7c68f [MC] Widen the functional unit type from 32 to 64 bits.
Summary:
The type used to represent functional units in MC is
'unsigned', which is 32 bits wide. This is currently
not a problem in any upstream target as no one seems
to have hit the limit on this yet, but in our
downstream one, we need to define more than 32
functional units.

Increasing the size does not seem to cause a huge
size increase in the binary (an llc debug build went
from 1366497672 to 1366523984, a difference of 26k),
so perhaps it would be acceptable to have this patch
applied upstream as well.

Subscribers: hiraditya, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71210
2020-02-24 09:37:00 +01:00
LLVM GN Syncbot
4dd038c419 [gn build] Port 1874dee5662 2020-02-21 20:51:44 +00:00
Craig Topper
604077c19d [X86] Add a new format type for instructions that represent named prefix bytes like data16 and rep. Use it to make a simpler version of isPrefix.
isPrefix was added to support the patches to align branches.
it relies on a switch over instruction names.

This moves those opcodes to a new format so the information is
tablegen and we can just check for a specific value in some bits
in TSFlags instead.

I've left the other function in place for now so that the
existing patches in phabricator will still work. I'll work with
the owner to get them migrated.
2020-02-21 12:34:59 -08:00
Fangrui Song
a6c30bdac4 [Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}
The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, more friendly when navigating files in
an editor, etc).

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D74934
2020-02-21 09:47:28 -08:00
LLVM GN Syncbot
45d2dc2fe4 [gn build] Port 23444edf30b 2020-02-21 17:21:54 +00:00
Sanjay Patel
6cb1ff7fe4 [Utils][x86] add an option to reduce scrubbing of shuffles with memops
I was drafting a patch that would increase broadcast load usage,
but our shuffle scrubbing makes it impossible to see if the memory
operand offset was getting created correctly. I'm proposing to make
that an option (defaulted to 'off' for now to reduce regression
test churn).

The updated files provide examples of tests where we can now verify
that the pointer offset for a loaded memory operand is correct. We
still have stack and constant scrubbing that can obscure the operand
even if we don't scrub the entire instruction.

Differential Revision: https://reviews.llvm.org/D74775
2020-02-20 09:33:05 -05:00
Matt Arsenault
3e62f38540 TableGen: Fix logic for default operands
This was checking for default operands in the current DAG instruction,
rather than the correct result operand list. I'm not entirly sure how
this managed to work before, but was failing for me when multiple
default operands were overridden.
2020-02-19 23:41:07 -05:00
Nico Weber
f9df0f69e3 [gn build] (manually) partially (?) merge 7ff1f55a1219 2020-02-19 21:09:44 -05:00
LLVM GN Syncbot
1a870bddc6 [gn build] Port 85fb997659b 2020-02-19 22:58:29 +00:00
Simon Pilgrim
c00ec168b5 [UpdateTestChecks] Add support for '.' in ir function names
Will let us regenerate from amdgpu float constant tests
2020-02-19 18:58:44 +00:00
Nico Weber
b49202c11d [gn build] use \bfoo\b instead of \<foo\> in sync script
\<foo\> is more correct, but since we use shell=True on Windows,
the < and > get interpreted as redirection operators.

Rather than adding cmd escaping, just use \bfoo\b, which is Good
Enough Often Enough.
2020-02-19 12:32:02 -05:00
LLVM GN Syncbot
1580d3f4b6 [gn build] Port a54d81f5979 2020-02-19 17:28:29 +00:00