3623 Commits

Author SHA1 Message Date
Keith Smiley
04e2be73a6
[bazel] Fix TestingSupport layering_check (#190630)
I'm not sure if this header is public API upstream but we are using it
that way anyways.
2026-04-06 12:03:45 -07:00
forking-google-bazel-bot[bot]
e7ac60c56b
[Bazel] Fixes ce1a9fd (#190577)
This fixes ce1a9fd76640929fe340c5c5d1bb493ea09ca9bc.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-04-06 09:40:22 -07:00
Jackson Stogel
b0a54bec9b
[bazel] Fixes c34c0442ee1fe400dc35a7dd7776d48ad65768dd (#190416) 2026-04-03 15:47:32 -07:00
Jackson Stogel
9d18702cd8
[Bazel] Port b1ef47f45966f06f263dc96d83c869393952cbf8 (#190278) 2026-04-02 16:01:55 -07:00
forking-google-bazel-bot[bot]
842464e7a9
[Bazel] Fixes 71122d8 (#190264)
This fixes 71122d8694cad3ae4450368be3e89bb62aa78173.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-04-02 14:44:01 -07:00
forking-google-bazel-bot[bot]
b71eacea76
[Bazel] Fixes 91adaec (#189998)
This fixes 91adaeceb162357a33e2ea6155cb13a4198a981a.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-04-01 10:41:17 -07:00
AidinT
585e2a015b
[MLIR] Convert BytecodeDialectInterface to ods (#188852)
This PR converts `BytecodeDialectInterface` to ODS.
2026-04-01 05:41:07 +02:00
AidinT
d52a5e8a5a
[MLIR] convert ConvertToEmitCPatternInterface to ODS (#188621)
This PR converts `ConvertToEmitCPatternInterface` dialect interface to ODS. Also makes changes to derived classes.
2026-04-01 05:30:12 +02:00
forking-google-bazel-bot[bot]
cdce9cd4a1
[Bazel] Fixes b813b0b (#189759)
This fixes b813b0b4e485b0323b51071aca7a415b30c3aa6f.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-03-31 15:38:51 -07:00
Aiden Grossman
0e0a0458ce [Bazel] Port d08ebbe8eba1dd2453a00ae0a0a6bd04b0d88d51 2026-03-31 16:25:45 +00:00
Aiden Grossman
c98e4386fc [Bazel] Port b544ad57039588d0fe24a1f512202cc5c0bd3a67 2026-03-31 16:06:40 +00:00
forking-google-bazel-bot[bot]
7ec77f8460
[Bazel] Fixes 54b7230 (#189487)
This fixes 54b723097b39b536eb7d1d6947b65d53a096ed47.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-03-30 15:16:53 -07:00
forking-google-bazel-bot[bot]
19caff444d
[Bazel] Fixes b6e4d27 (#189473)
This fixes b6e4d27c485af711214b3dafc96fa287e2fe33f6.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-03-30 13:56:50 -07:00
forking-google-bazel-bot[bot]
6021270aa3
[Bazel] Fixes 04785ad (#189456)
This fixes 04785adec34ddf9a6ec47f10da5b2b7fe8c9f9c8.

Co-authored-by: Google Bazel Bot <google-bazel-bot@google.com>
2026-03-30 12:49:31 -07:00
Zorojuro
15a7c45163
[libc][math][c23] Add asinbf16 math function (#184170)
Co-authored-by: bassiounix <muhammad.m.bassiouni@gmail.com>
2026-03-30 21:29:55 +02:00
Aiden Grossman
58a0d48dcc [Bazel] Port 9a8c018081383f71e9f2f013dfea2fd26620aade 2026-03-30 16:35:08 +00:00
Benjamin Kramer
b3fbabbcde [bazel] Add missing dependency for 00698678e404699f6c776679272a7e3392c46306 2026-03-30 14:11:38 +02:00
Benjamin Kramer
58f702177c [bazel] Add missing dependency for 1bb03026b6aa332863de65a7d245c4ecf3a99645 2026-03-30 14:08:16 +02:00
Mohamed Emad
1bb03026b6
[libc][math][c23] implement double-precision asinpi (#188158)
Implement the double precision version of the asinpi c23 math function
2026-03-29 10:18:07 -04:00
Alexey Samsonov
ae63230c23
[libc] Remove more header template files (#189066)
Get rid of several .h.def files which were used to ensure that the
macro definitions from llvm-libc-macro would be included in the public
header. Replace this logic with YAML instead - add entries to the
"macros" list that point to the correct "macro_header" to ensure it
would be included.

For C standard library headers, list several standard-define macros
to document their availability. For POSIX/Linux headers, only reference
a handful of macro, since more planning is needed to decide how to
represent platform-specific macro in YAML.
2026-03-27 16:06:39 -07:00
Alexey Samsonov
ead9ac8331
[libc] Remove header templates from several C standard headers. (#188878)
Switches the following headers to hdrgen-produced ones by referencing
some macro from C standard and the file containing the declarations in
corresponding YAML files:

* limits.h (referenced _WIDTH / _MAX / _MIN families).
* locale.h (referenced LC_ family).
* time.h (referenced CLOCKS_PER_SEC).
* wchar.h (referenced WEOF).
2026-03-27 17:55:37 +00:00
Michael Jones
166f996c44
[libc][bazel] Add generation for public headers (#184889)
Previously there was a single rule for stdbit, this PR adds generated
header targets for the rest of the linux headers. It also adds a
cc_library
for all of the public headers which also includes the types and macros
headers.
2026-03-27 09:44:32 -07:00
Anonmiraj
e06b5e53a2
[libc][math] Implement C23 half precision erfc function (#180930)
Add support for the half-precision complementary error function
`erfcf16``, using a Sollya generated polynomial implementation with
proper handling of special cases.

Extend the MPFR utilities with erfc support to allow tests.

closes: #180927
2026-03-27 10:42:03 -04:00
Sohaib Iftikhar
94a1aa5177
[LLVM:BUILD]: Add libs needed for windows builds (#188975)
[LLVM:BUILD]: Add libs needed for windows builds
2026-03-27 12:56:10 +01:00
google-llvm-bazel-bot
47f032e695
[Bazel] Fixes 2c24f02 (#188603)
This fixes 2c24f0292496332cd8ff0fa736b128890e039411.
2026-03-25 16:02:10 -05:00
google-llvm-bazel-bot
caed459646
[Bazel] Fixes d7e60d5 (#188592)
This fixes d7e60d525026f24a3514be34d8e6e56622436823.
2026-03-25 15:26:08 -05:00
Ilya Tokar
267b0ea6e8
[libc][x86] add MEMCPY_X86_USE_NTA_STORES to config (#188321)
Add LIBC_CONF_COPT_MEMCPY_X86_USE_NTA_STORES to cmake/bazel/json config.
2026-03-25 15:14:27 -04:00
AidinT
f0604af7ce
[MLIR] Convert LLVMImportDialectInterface using ODS (#181923)
This PR generates LLVMImportDialectInterface using ODS.
2026-03-25 20:56:13 +02:00
AidinT
89484e71be
[MLIR] convert ConvertToLLVMPatternInterface to ods (#188354)
This PR converts `ConvertToLLVMPatternInterface` to tablegen generated
interface using ODS

---------

Co-authored-by: Jacques Pienaar <jacques+gh@japienaar.info>
2026-03-25 20:14:22 +02:00
google-llvm-bazel-bot
414f0c3362
[Bazel] Fixes 731bcb5 (#188519)
This fixes 731bcb5a1c77403b496f13674ff1994795ce3a44.
2026-03-25 11:01:56 -05:00
google-llvm-bazel-bot
1e3a31ef20
[Bazel] Fixes e6cfdd0 (#188498)
This fixes e6cfdd01ae1a52dd193499bb324ac7aa007fa22d.
2026-03-25 14:49:18 +00:00
google-llvm-bazel-bot
20e863de13
[Bazel] Fixes 599d74f (#188138)
This fixes 599d74fdc3cee5fa1ed84d6e10830f9aa5fe6b53.
2026-03-23 16:54:02 -05:00
google-llvm-bazel-bot
dc4073fbe7
[Bazel] Fixes 239ca11 (#188083)
This fixes 239ca11a55b40ce12b21bc47e45cb4065d1cc3d4.
2026-03-23 13:58:07 -04:00
Zorojuro
aa62224a73
[libc][math] Refactor sqrtbf16 function header-only (#187849) 2026-03-22 00:51:40 +02:00
Aiden Grossman
2702570686 [Bazel] Port 0ec9f7ebbdf72a94e0e2c0872d4d11fc8d0efa6b 2026-03-21 20:33:28 +00:00
Zorojuro
7d7cd745af
[libc][math][c23] Add atanbf16 function (#184019)
This PR intends to add atanbf16 higher math function for BFloat16 type
along with the tests.
2026-03-21 11:09:11 -04:00
Aiden Grossman
60db764b90 [Bazel] Port a2c0c43699917bb26a3eb20fefcbf29ff120ce70 2026-03-20 18:05:05 +00:00
Will Froom
66bc5652bd
[BAZEL] Add missing affine python enum gen (#187669) 2026-03-20 10:27:29 +00:00
Aiden Grossman
5881ce66b1 [Bazel] Port 7efcd6198c8d15a1ab2ae2b30a3aa8b5168ef9cc
Added a new header that needs to be handled properly.
2026-03-20 00:53:16 +00:00
Aiden Grossman
0e53fbcc43 [Bazel] Port 81e8a1e59ee28e5403d8a78874c37f853d18d4fb
This patch introduces a dependency from driver to dependency_scanning.
We need to tease out dependency_scanning's current dependency on driver
(just some headers that can be removed) and then add a depenency in
driver on dependency_scanning to make the patch work.
2026-03-20 00:44:39 +00:00
Vimarsh Sathia
a32d2695c3
[bazel] Gate GPU parsers behind llvm_targets (#187213)
Ideally fixes #63135

---------

Signed-off-by: Vimarsh Sathia <vsathia2@illinois.edu>
2026-03-19 06:33:05 -07:00
Mohamed Emad
4db2ce4d54
[libc][math] Refactor dadd family to header-only (#182142)
Closes https://github.com/llvm/llvm-project/issues/182141
2026-03-19 06:37:35 +02:00
Manthan Singla
42b75ed85f
[libc][math] Refactor bf16divf128 to Header Only (#186641)
closes #181024
2026-03-19 01:47:22 +02:00
google-llvm-bazel-bot
0f5d8a960f
[Bazel] Fixes dd9dd1d (#187310)
This fixes dd9dd1d2f39c8feb650de732540198b96240e4ff.
2026-03-18 10:59:29 -05:00
google-llvm-bazel-bot
f1b82dcd99
[Bazel] Fixes c1f6fd2 (#187146)
This fixes c1f6fd24aa637d6aadb72aa08bf3d8a14c961ed2.
2026-03-18 07:32:21 -04:00
Muhammad Bassiouni
673002f325
[libc][math] Fix bazel build for fmaf16 (#187111) 2026-03-17 22:04:19 +02:00
Muhammad Bassiouni
f0e699a35c
[libc][math] Fix fma bazel build (#187107) 2026-03-17 21:47:15 +02:00
Muhammad Bassiouni
bed5e7dc20
[libc][math] Refactor fmaf16 implementation to header-only in src/__support/math folder. (#163977) 2026-03-17 21:35:08 +02:00
Muhammad Bassiouni
e6f0ec8343
[libc][math] Refactor fmaf implementation to header-only in src/__support/math folder. (#163970)
Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2026-03-17 21:33:06 +02:00
Muhammad Bassiouni
d0d1f0b7af
[libc][math] Refactor fma implementation to header-only in src/__support/math folder. (#163968)
Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2026-03-17 21:24:27 +02:00