lntue
14667119bc
[libc] Allow each function can have extra attributes by defining LLVM_LIBC_FUNCTION_ATTR_func macro. ( #116160 )
2024-11-20 17:50:00 -05:00
Haojian Wu
12cfa414a3
[bazel] Port for 08e7609692af3cb84da510deac70eeb02cbceb6d
2024-11-20 15:36:52 +01:00
Mikhail Goncharov
1bfcf89107
[bazel] port a8744066e9ef252b687c1206ccbd1a6e3ae1c890
2024-11-19 17:50:51 +01:00
Mikhail Goncharov
b64095c795
[bazel] port e370946978c3b50cc2716878122be332df554c6f
2024-11-18 11:24:24 +01:00
Mikhail Goncharov
20c653c313
[bazel] port 63b926af5ff43a90dac285bbe0750e41e622eb3f
2024-11-18 11:00:33 +01:00
Daniel Thornburgh
95b680e4c3
[libc] Rename libc/src/__support/endian.h to endian_internal.h ( #115950 )
...
This prevents a conflict with the Linux system endian.h when built in
overlay mode for CPP files in __support.
This issue appeared in PR #106259 .
2024-11-13 10:28:07 -08:00
Haojian Wu
716a095a80
[bazel] Port for 8cc616bc71dfe0648de3843a006ac8827c5fe59d
2024-11-13 15:59:29 +01:00
Haojian Wu
70d6789c7a
[bazel] Port for 7302c8dbe71b7c03b73a35a21fa4b415fa1f4505
2024-11-12 21:06:19 +01:00
Michael Jones
36cbc09e63
[libc][bazel] config macros is a support library ( #115776 )
...
Previously __support_macros_config was a cc_library, but making it a
libc_support_library makes things cleaner.
2024-11-11 14:16:53 -08:00
Haojian Wu
d1aa0da7e2
[bazel] Port for ffc7feadece139c88f0e6930f16bfa9293747adc
2024-11-11 09:00:43 +01:00
weiwei chen
fb4f426c81
[Bazel] Add a comment why an export file is needed. ( #115556 )
...
- [x] Add follow-up comment on why the export file is needed in
BUILD.bazel
2024-11-08 23:15:22 -05:00
Pranav Kant
cb98366ea4
[bazel][libc] Add exp10m1f ( #115565 )
2024-11-08 15:32:25 -08:00
Pranav Kant
0dbdb3251f
[bazel] Remove mlir-spirv-cpu-runner after 0e39b1348e5fcadb129a6f113e… ( #115533 )
...
…5d708a526d8faa
2024-11-08 11:01:31 -08:00
weiwei chen
a749c98b49
[Baze] Add missing lldbDataFormatter.py back to BUILD.bazel. ( #115519 )
...
- [x] Add `utils/lldbDataFormatters.py` back.
2024-11-08 13:26:57 -05:00
Haojian Wu
2f243a5fb7
[bazel] Port for 0e39b1348e5fcadb129a6f113e5d708a526d8faa
2024-11-08 16:41:58 +01:00
JoelWee
0c0d7a6ec7
[MLIR] Fix bazel after 2f743ac
2024-11-07 10:51:00 +00:00
Pranav Kant
df0a56cdd9
[bazel] Fix AMXDialect ( #115221 )
2024-11-06 14:19:16 -08:00
Pranav Kant
ff533b94b7
[bazel] Add dep to BuiltinDialectTdFiles ( #115217 )
2024-11-06 13:33:13 -08:00
Michael Jones
aae5a38e4e
[libc][bazel] Mark socket functions weak ( #115088 )
...
Downstream ther'es a user that needs the syscall wrappers to be weak. I
intend to set up a proper mechanism for just listing which functions
should be weak eventually, but for now this is necessary.
2024-11-06 10:29:07 -08:00
Pranav Kant
8dd9f206b5
[bazel] Fix mlir:VectorToSPIRV ( #115188 )
2024-11-06 09:56:50 -08:00
Alexey Samsonov
2f48765b45
[libc][bazel] Remove -mllvm --tail-merge-threshold=0 from Bazel. ( #115061 )
...
Follow-up on the `-mllvm --tail-merge-threshold=0` removal promised in
aeccc16497a84d61200f7ccfa3864096349260d3 (see
b2a9ea4420127d10b18ae648b16757665f8bbd7c commit message on why we don't
need this in Bazel, and will only keep in AArch64-specific compile flags
in CMake build).
2024-11-06 10:51:08 +01:00
Pranav Kant
c8221359f0
[bazel] Add dep on Analysis to fix build break ( #115033 )
2024-11-05 09:44:29 -08:00
Pranav Kant
8dfd9ff4b5
[bazel] Unbreak bazel bot ( #115016 )
...
Broken first by #114620
2024-11-05 08:23:46 -08:00
Pranav Kant
41312b011a
[bazel] Add :support to ast target ( #115014 )
2024-11-05 08:20:18 -08:00
Dmitri Gribenko
21f8e8c918
[bazel][libc] Port 9cfe3028ca7977fb582fa3b15b875e8772fc8fc0 (part 2)
2024-11-05 12:35:02 +01:00
Pranav Kant
2d2371df0f
[bazel][libc] Fix bazel build ( #114917 )
2024-11-04 19:10:57 -08:00
Vincent Lee
bb9ff32867
[bazel] Clean up unused exported files ( #114620 )
...
Some minor cleanup to the bazel files. These exported files are not
being referenced anymore in the tree, afaict, so let's clean them up.
Additionally, moved one of the filegroup targets higher to be consistent
with other filegroup usages where it's defined before first usage.
2024-11-04 15:22:38 -08:00
Benjamin Kramer
8528130a0c
[bazel] Add missing dependency for 704808c275fa63d618c8d786313b3da815d4a75b
2024-11-04 22:42:32 +01:00
Benjamin Kramer
89b948d0ab
[bazel][lld] Port 9a450a0096befc91bc947db6410d4c640c3d97cd
2024-11-03 18:27:59 +01:00
Benjamin Kramer
53ce5daf2c
[bazel][mlir] Port a6e72f93923378bffe13367f6dedd526ad39b184
2024-11-03 18:23:49 +01:00
Benjamin Kramer
1b1e325583
[bazel][libc] Port 33bdb53d864e3e244d8fd5649062f17b7d4c958d
2024-11-03 18:11:55 +01:00
Alexey Samsonov
33d636f0f6
[libc][bazel] Fix linter warning - remove unused load. ( #114493 )
...
This load is no longer necessary since PLATFORM_CPU_ARM64 was removed in
fa17977c315062646d4d1e01262d68dd69313e61
2024-10-31 17:34:39 -07:00
Jorge Gorbe Moya
93d12d4881
Revert "[Bazel] Fix for 1bc58a258e2edb6221009a26d0f0037eda6c7c47" ( #114444 )
...
This reverts commit 5ce8a93ebb7688c66bd08fa27d2e04bca33b6763.
Commit 1bc58a258e2edb6221009a26d0f0037eda6c7c47 was reverted in
a9a8351ef181610559687679a40efe24649f9600, so the bazel fix is no longer
needed.
2024-10-31 11:21:04 -07:00
Dmitry Chernenkov
ca9f5b6c3e
[Bazel] Fix for 0f8a6b7d03550cb58cf49535af2de2230abfe997
2024-10-31 17:13:23 +00:00
Dmitry Chernenkov
5ce8a93ebb
[Bazel] Fix for 1bc58a258e2edb6221009a26d0f0037eda6c7c47
2024-10-31 17:13:23 +00:00
Alexey Samsonov
14f3cdc8e2
[libc][bazel] Add BUILD rules for float16 math functions. ( #114187 )
...
Adds libc_math_function rules for various f16* and *f16 functions.
Closes #114140
2024-10-30 19:05:24 -07:00
Dmitry Chernenkov
d693e7c7f7
[Bazel] fix clang for 508263824f4ef0c70f37523810e5f7d56bcfa653
2024-10-30 14:11:22 +00:00
Dmitry Chernenkov
872981bd23
[Bazel] Fix layering for libc
2024-10-29 14:34:51 +00:00
Dmitry Chernenkov
340cd4e631
[Bazel] fix for abc49cc19463970d5523d7d3332e4c1f83bc2ef7
2024-10-29 14:13:20 +00:00
Guillaume Chatelet
b1ede8fcb4
[reland][libc][bazel] Enable software prefetching for memcpy ( #113886 )
...
This will affect only Bazel configuration for now.
This is a reland of #108939 which has been reverted because of codegen
issues fixed by https://github.com/llvm/llvm-project/pull/113161 .
2024-10-28 14:43:10 +01:00
Yijia Gu
d3c29e8d2f
[mlir][test][bazel] add missing deps for TestPass
2024-10-25 10:24:31 -07:00
Benjamin Kramer
6854ad90e3
[bazel][lldb] "Fix" the build after b852fb1ec5fa15f0b913cc4988cbd09239b19904
...
b852fb1ec5fa15f0b913cc4988cbd09239b19904 split out ValueObject, but it's
still all a big pile of dependency spaghetti so just build it with Core.
2024-10-25 14:23:56 +02:00
NAKAMURA Takumi
20c59838d0
[Bazel][SystemZ] Update for #112975
2024-10-23 03:38:31 +00:00
Krasimir Georgiev
deecfa90c6
bazelbuild: adapt for commit b735c66da9 ( #113302 )
2024-10-22 13:59:59 +02:00
Michael Jones
6c4267fb17
[libcxx][libc] Hand in Hand PoC with from_chars ( #91651 )
...
Implements std::from_chars for float and double.
The implementation uses LLVM-libc to do the real parsing. Since this is
the first time libc++
uses LLVM-libc there is a bit of additional infrastructure code. The
patch is based on the
[RFC] Project Hand In Hand (LLVM-libc/libc++ code sharing)
https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701
2024-10-21 15:04:06 -07:00
Keith Smiley
28a2f57c98
[bazel] Pass --build_runfile_links=false ( #113221 )
...
This improves performance of doing a `bazel test @llvm-project//...` a
lot because previously every lit test would have some symlink tree
configured for it.
2024-10-21 14:01:29 -07:00
Keith Smiley
3903cb4695
[bazel] Use rules_python load statements ( #113213 )
...
With bazel 8.x these are strongly encouraged, and this disambiguates
which version of these rules we get for older versions. Specifically the
native.py_test was using the wrong version of py_test.
2024-10-21 13:19:21 -07:00
Yijia Gu
2c331b3571
[mlir][bazel] remove tab blank in OpenAccTransforms
2024-10-21 10:43:55 -07:00
Yijia Gu
ab07fc8320
[mlir][bazel] add missing dep in OpenAccTransforms
2024-10-21 10:41:12 -07:00
Krasimir Georgiev
df02bcc81d
bazelbuild: fix for commit d80b9cf713fd ( #113153 )
...
Fix for
d80b9cf713
.
No functional changes intended.
2024-10-21 13:39:25 +02:00