4823 Commits

Author SHA1 Message Date
LLVM GN Syncbot
646f034e4e [gn build] Port de209fa11b54 2025-01-23 05:16:48 +00:00
Nico Weber
1042ddc31b [gn] port ec15b242505 2025-01-22 20:52:12 -05:00
Kazu Hirata
b40739a6e9 Revert "[LLVM][Clang][AArch64] Implement AArch64 build attributes (#118771)"
This reverts commit d7fb4a275c98f4035d1083b5eb3edd2ffb2da00e.

Buildbots failing:
https://lab.llvm.org/buildbot/#/builders/169/builds/7671
https://lab.llvm.org/buildbot/#/builders/65/builds/11046
2025-01-22 10:12:27 -08:00
Fangrui Song
58c6d440f8
[CMake] Remove HAVE_DLFCN_H and HAVE_DLADDR (#123879)
It is sufficient to just use `HAVE_DLOPEN`.
2025-01-22 08:15:10 -08:00
Nico Weber
d0a89e7179 [gn] fix mistake in d7fb4a275c98f 2025-01-22 10:19:30 -05:00
Nico Weber
4170d6123c [gn] port 6aeffcdb9130 2025-01-22 10:16:53 -05:00
SivanShani-Arm
d7fb4a275c
[LLVM][Clang][AArch64] Implement AArch64 build attributes (#118771)
- Added support for AArch64-specific build attributes.
- Print AArch64 build attributes to assembly.
- Parse AArch64 build attributes from assembly.
- Emit AArch64 build attributes to ELF.

Specification:
 https://github.com/ARM-software/abi-aa/pull/230
2025-01-22 14:23:46 +00:00
LLVM GN Syncbot
a034555097 [gn build] Port 6d12b954a7df 2025-01-20 03:16:21 +00:00
LLVM GN Syncbot
18eec97f09 [gn build] Port ae932becb2c9 2025-01-17 22:08:15 +00:00
LLVM GN Syncbot
580ba2eed2 [gn build] Port 6b048aeaf837 2025-01-17 20:01:12 +00:00
LLVM GN Syncbot
a807b2feb8 [gn build] Port 128e2e446e90 2025-01-17 20:01:11 +00:00
Fangrui Song
414980d061
[CMake] Remove HAVE_SYS_RESOURCE_H/HAVE_SETRLIMIT/HAVE_GETRLIMIT
Only used by Unix/Program.inc and seem always available.

Pull Request: https://github.com/llvm/llvm-project/pull/123288
2025-01-16 22:44:54 -08:00
Fangrui Song
219beb7aca [CMake] Remove HAVE_SYS_IOCTL_H 2025-01-16 21:52:01 -08:00
Fangrui Song
86a81d424c [CMake] Remove HAVE_TERMIOS_H
The code path has been dead since 2019.
See a3eb3d3d92d037fe3c9deaad87f6fc42fe9ea766
2025-01-16 21:48:27 -08:00
Fangrui Song
f999b11e68
[CMake] Remove some unneeded HAVE_*_H
Pull Request: https://github.com/llvm/llvm-project/pull/123282
2025-01-16 21:37:24 -08:00
LLVM GN Syncbot
8942d5ee6f [gn build] Port e902c6960cff 2025-01-16 23:27:05 +00:00
LLVM GN Syncbot
da5ec78f2a [gn build] Port 8fb29ba287d7 2025-01-16 15:05:44 +00:00
LLVM GN Syncbot
25e5eb17b1 [gn build] Port 2c75bda42605 2025-01-16 15:05:43 +00:00
Nico Weber
b1cef93917 [gn] port bf17016a92bc (-gen-clang-diags-enums) 2025-01-16 09:31:35 -05:00
Fangrui Song
1e53f9523d
[CMake] Remove some always-true HAVE_XXX_H
These are unneeded even on AIX, PURE_WINDOWS, and ZOS (per #104706)

* HAVE_ERRNO_H: introduced by 1a93330ffa2ae2aa0b49461f05e6f0d51e8443f8 (2009) but unneeded.
  The guarded ABI is unconditionally used by lldb.
* HAVE_FCNTL_H
* HAVE_FENV_H
* HAVE_SYS_STAT_H

Pull Request: https://github.com/llvm/llvm-project/pull/123087
2025-01-15 09:53:21 -08:00
LLVM GN Syncbot
d0a36423c1 [gn build] Port 3986cffe8112 2025-01-15 16:09:28 +00:00
LLVM GN Syncbot
ea4a87957f [gn build] Port 42595bdaefb6 2025-01-14 09:26:18 +00:00
LLVM GN Syncbot
7059178bd3 [gn build] Port cedb44af53f1 2025-01-13 15:56:33 +00:00
LLVM GN Syncbot
051cd36f82 [gn build] Port b5ba4f06db2e 2025-01-13 15:56:32 +00:00
LLVM GN Syncbot
7532958355 [gn build] Port 8ebc35f8d041 2025-01-12 10:05:24 +00:00
LLVM GN Syncbot
0f242897ce [gn build] Port 2e5c29828196 2025-01-10 19:52:53 +00:00
LLVM GN Syncbot
513fa28901 [gn build] Port c664a7f97503 2025-01-10 16:05:01 +00:00
LLVM GN Syncbot
0e1c5bfac8 [gn build] Port 69b54c1a05c0 2025-01-09 18:02:43 +00:00
LLVM GN Syncbot
0b722de4a5 [gn build] Port 30ba8be22eb0 2025-01-08 18:41:23 +00:00
Nico Weber
d6ae3d3070 [gn] port afa8aeeeec (RISCVGenExegesis.inc) 2025-01-08 13:16:11 -05:00
Nico Weber
911880e8a7 [gn] port 71ddde8ba52a (LLVMExegesisRISCVTests) 2025-01-08 13:16:11 -05:00
LLVM GN Syncbot
c3fc41c60b [gn build] Port bc51a2e3940a 2025-01-07 14:50:31 +00:00
LLVM GN Syncbot
f06d4d9ae5 [gn build] Port d00f65c6acd9 2025-01-06 21:32:10 +00:00
Nico Weber
40a00af3ea [gn] port 21edac25f09f (BuiltinsSPIRV) 2025-01-06 15:25:13 -05:00
Farzon Lotfi
21edac25f0
[SPIRV] Add Target Builtins using Distance ext as an example (#121598)
- Update pr labeler so new SPIRV files get properly labeled.
- Add distance target builtin to BuiltinsSPIRV.td.
- Update TargetBuiltins.h to account for spirv builtins.
- Update clang basic CMakeLists.txt to build spirv builtin tablegen.
- Hook up sema for SPIRV in Sema.h|cpp, SemaSPIRV.h|cpp, and
SemaChecking.cpp.
- Hookup sprv target builtins to SPIR.h|SPIR.cpp target.
- Update GBuiltin.cpp to emit spirv intrinsics when we get the expected
spirv target builtin.

Consensus was reach in this RFC to add both target builtins and pattern
matching:
https://discourse.llvm.org/t/rfc-add-targetbuiltins-for-spirv-to-support-hlsl/83329.

pattern matching will come in a separate pr this one just sets up the
groundwork to do target builtins for spirv.

partially resolves
[#99107](https://github.com/llvm/llvm-project/issues/99107)
2025-01-06 11:37:20 -05:00
LLVM GN Syncbot
d3b77a960d [gn build] Port 3a7a9c928671 2025-01-06 10:29:47 +00:00
LLVM GN Syncbot
f99b190757 [gn build] Port b51a082e1afd 2025-01-06 08:32:04 +00:00
LLVM GN Syncbot
483832b37a [gn build] Port 34e8aff480dd 2025-01-06 06:24:25 +00:00
Nico Weber
510263a969 [gn] port a774adb01725 (BuiltinsX86_64.td) 2025-01-05 21:09:55 -05:00
Nico Weber
d598829375 [gn] make LLVMTableGenCommon a static_library again
Else TableGenTests doesn't link.
2025-01-03 08:05:15 -05:00
Nico Weber
b1c195cbd1 [gn] port 27f30029741e (yet another tblgen reorg) 2025-01-03 08:00:08 -05:00
LLVM GN Syncbot
4922350407 [gn build] Port cd19f3f787b0 2025-01-02 20:18:56 +00:00
LLVM GN Syncbot
6d604ba363 [gn build] Port e45e091b9089 2025-01-02 14:14:43 +00:00
Nico Weber
0cbe28df71 [gn] port 28ae2ff2a44c 2025-01-01 14:24:25 -05:00
LLVM GN Syncbot
ae435adabb [gn build] Port 2d6e7c2b359d 2024-12-25 08:56:33 +00:00
Vitaly Buka
1de228fa9b
[ubsan] Remove UBSAN_CAN_USE_CXXABI (#121082)
It's should be enough to provide weak implementation.

Fixes solaris and android linking after #121006.
2024-12-24 20:21:40 -08:00
Nico Weber
10c18ab7e6 [gn] port dbae7176a6ec (LLVMTelemetry) 2024-12-24 08:18:09 -05:00
Nico Weber
24eb1566e0 [gn] port 24fc8f01a403 (and aec87a2143c01) 2024-12-23 08:40:29 -05:00
LLVM GN Syncbot
93c2577020 [gn build] Port b9a2658a3e8b 2024-12-21 12:08:12 +00:00
LLVM GN Syncbot
559f0809cc [gn build] Port d328d4106139 2024-12-21 03:43:14 +00:00