3267 Commits

Author SHA1 Message Date
LLVM GN Syncbot
de3f0f7fa0 [gn build] Port 59b029238af2 2023-01-09 09:00:23 +00:00
Nico Weber
2cc30c4ee8 [gn] port b712aef5b37e 2023-01-08 13:24:53 -05:00
Nico Weber
a9775e00f0 [gn build] Port 86aac87fe4b5 2023-01-08 13:22:35 -05:00
LLVM GN Syncbot
f9a0d045ca [gn build] Port 16c1c9fdcc48 2023-01-06 15:46:03 +00:00
LLVM GN Syncbot
cd4de53be7 [gn build] Port 4670d5ece57d 2023-01-06 13:20:13 +00:00
Aaron Ballman
b4993bea29 Remove documentation about the Go bindings
We removed the Go bindings in https://reviews.llvm.org/D135436 but
missed documentation that talks about the bindings.
2023-01-05 14:49:28 -05:00
LLVM GN Syncbot
c9bce9fea0 [gn build] Port b06b248ad9dc 2023-01-05 14:03:43 +00:00
Nico Weber
ff66d410fd Revert "[gn] port f29cfab55d1f"
This reverts commit 199563534a2fc38f72fa93c4fdd03221afe06996.
f29cfab55d1fd80 was reverted in c6c54132b76.
2023-01-04 21:01:30 -05:00
LLVM GN Syncbot
37228b1baa [gn build] Port ba874483137d 2023-01-04 10:40:23 +00:00
LLVM GN Syncbot
2a2b954434 [gn build] Port a455c91601a8 2023-01-03 22:08:13 +00:00
LLVM GN Syncbot
6a0333a170 [gn build] Port c570287fbf4d 2023-01-03 05:56:22 +00:00
LLVM GN Syncbot
1e48ed3932 [gn build] Port 89aad1e6a397 2023-01-01 01:57:45 +00:00
Benjamin Kramer
a3d58bbaff Detemplate llvm::EmitGEPOffset and move it into a cpp file. NFC. 2022-12-29 16:24:21 +01:00
LLVM GN Syncbot
3d5db75788 [gn build] Port f0756e086010 2022-12-25 21:05:12 +00:00
LLVM GN Syncbot
d1b930c1fc [gn build] Port 46c94e5067b5 2022-12-25 02:55:37 +00:00
LLVM GN Syncbot
5610902c5e [gn build] Port 066b492b747a 2022-12-25 02:55:36 +00:00
Nico Weber
199563534a [gn] port f29cfab55d1f 2022-12-23 09:30:44 -05:00
Nico Weber
a09e222fd5 [gn] port ba0ec6f15f55 2022-12-23 09:08:56 -05:00
LLVM GN Syncbot
bab5d36413 [gn build] Port d64d3c5a8f81 2022-12-22 22:53:42 +00:00
LLVM GN Syncbot
520a63893e [gn build] Port 17ed8f29287b 2022-12-22 21:20:59 +00:00
LLVM GN Syncbot
8861c6dfe0 [gn build] Port eb6e13cb3280 2022-12-22 18:42:31 +00:00
LLVM GN Syncbot
31fcabca41 [gn build] Port ec11388b3342 2022-12-21 23:32:10 +00:00
Nico Weber
d413938780 [gn] another fixup for 47df55f3ef5 -- LoongArch is experimental, not RISCV 2022-12-21 18:31:39 -05:00
Nico Weber
39b92b32a1 [gn] fixup for 47df55f3ef5 2022-12-21 18:25:45 -05:00
Nico Weber
47df55f3ef [gn] Don't include RISCV in targets build for 'all'
RISCV build and tests are often broken.

You can use `llvm_targets_to_build = "experimental"` to enable
_all_ targets, including the experimental ones. If RISCV is listed
in llvm_targets_to_build, it's built as before.
2022-12-21 18:24:44 -05:00
Arthur Eubanks
2118b9d39b [llvm-extract] Use new pass manager instead of legacy pass manager
Removes some legacy passes specific to llvm-extract
2022-12-20 12:57:35 -08:00
Nico Weber
4e018c7cbb Revert "[gn] port ae3e228af7"
This reverts commit b65fbf821a5f4dada7018068b93d4a1ae7c068ff.
ae3e228af7 was reverted in f31a36e7767e.
2022-12-20 13:32:30 -05:00
Nico Weber
2aa998d22f [gn] Add explicit deps on TargetParser
This diff was generated by the following script:

    #!/usr/bin/env python3
    import os, subprocess
    r = subprocess.run('git show --pretty='' --name-only f09cf34d00'.split(),
                       stdout=subprocess.PIPE, text=True)
    for line in r.stdout.splitlines():
      if not line.endswith('CMakeLists.txt'): continue
      gn = 'llvm/utils/gn/secondary/' + os.path.dirname(line) + '/BUILD.gn'
      if not os.path.exists(gn): continue
      with open(gn) as f:
        contents = f.read()
      if contents.count('"//llvm/lib/Support",') == 1:
        contents = contents.replace(
            '"//llvm/lib/Support",',
            '"//llvm/lib/Support", "//llvm/lib/TargetParser",')
      elif contents.count(' deps = [') == 1:
        contents = contents.replace(
            ' deps = [',
            ' deps = [ "//llvm/lib/TargetParser",')
      else:
        print('needs manual fixup:', gn)
        continue
      with open(gn, 'w') as f:
        f.write(contents)

I then manually fixed up the BUILD.gn files for Support (should not depend on
TargetParser) and TargetParser (should depend on Support) and ran `gn format`
on all touched files.
2022-12-20 10:09:43 -05:00
Nico Weber
aa3bd65212 [gn] run gn format on new build file 2022-12-20 10:04:47 -05:00
Nico Weber
4ac51dd53d [gn build] Port core part of f09cf34d0062
For now, this adds a dep from Support on the new TargetParser library
instead of the other way round. That'll be fixed in a mechanical follow-up.
2022-12-20 09:46:14 -05:00
LLVM GN Syncbot
d5d14992d0 [gn build] Port 475ce4c200ca 2022-12-20 01:52:50 +00:00
LLVM GN Syncbot
21c3883cf7 [gn build] Port 2916b9918275 2022-12-20 00:03:21 +00:00
LLVM GN Syncbot
f7db73aba1 [gn build] Port ca0f4e193b05 2022-12-19 15:16:21 +00:00
LLVM GN Syncbot
109632e9cc [gn build] Port 2022-12-19 12:30:15 +00:00
Doru Bercea
07ff3c5ccc Fix abs labs and llabs to work in C code. 2022-12-19 06:28:15 -06:00
Nico Weber
67119c7cba [gn] try porting 07af0e2d3e84 even more
Possibly fixes tests on Linux. This corresponds to
`export_executable_symbols_for_plugins` calls in CMake.
2022-12-18 16:58:04 -05:00
Nico Weber
ba57d2ad4e [gn] port 7d2c1150d31b better 2022-12-18 09:07:56 -05:00
Nico Weber
6f5cdc93cd [gn] port 7d2c1150d31bb 2022-12-18 07:39:49 -05:00
Nico Weber
83d7605c22 [gn build] Port rest of 07af0e2d3e84
Test now passes, at least on macOS.
2022-12-18 07:36:54 -05:00
Nico Weber
6dcf937149 [gn build] Port some of 07af0e2d3e84
Enough to get the build fixed, but doesn't add the plugin yet, so the test
fails for now.
2022-12-18 07:21:54 -05:00
Nico Weber
b65fbf821a [gn] port ae3e228af7 2022-12-18 07:14:43 -05:00
Nico Weber
e37fac3deb [gn] port 7d2c1150d31b 2022-12-16 20:09:33 -05:00
LLVM GN Syncbot
c0c909eef8 [gn build] Port 5d7950a403be 2022-12-16 16:45:18 +00:00
Fangrui Song
f13d0c125f [gn] Port 344230913812cec3b4509c0216cefce06f69dd4d 2022-12-16 07:40:23 +00:00
Kazu Hirata
ee0c631716 [mlgo] Retire LLVM_HAVE_TF_API
I've eliminated all uses of LLVM_HAVE_TF_API except a couple of them
being removed in llvm/lib/CodeGen/CMakeLists.txt.  This patch removes
remaining definitions and uses of LLVM_HAVE_TF_API.

Differential Revision: https://reviews.llvm.org/D140169
2022-12-15 14:40:16 -08:00
LLVM GN Syncbot
7ca5eae40e [gn build] Port 3ec6c997c67d 2022-12-15 01:19:28 +00:00
LLVM GN Syncbot
183c40a125 [gn build] Port e356f681f6c4 2022-12-14 16:17:52 +00:00
Fangrui Song
36a879e80f [gn] Port 5f68c4111ab9c79b902723df3986dd1033813c01 2022-12-14 06:48:20 +00:00
LLVM GN Syncbot
96fbbf55a2 [gn build] Port 233ca84a25a7 2022-12-13 16:27:58 +00:00
Nico Weber
ae2e60a814 [gn build] Port 7a85192166b5 2022-12-13 09:26:18 -05:00