3511 Commits

Author SHA1 Message Date
Mohamed Emad
62cfe1659e
[libc][math][c23] implement C23 acospif math function (#183661)
Implementing C23 `acospi` math function for single-precision with the
header-only approach that is followed since #147386
2026-02-28 04:32:45 +02:00
Mohamed Emad
fb6b470cae
[libc][math] Refactor floor family to header-only (#182194)
Refactors the floor math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182193

Target Functions:
  - floor
  - floorbf16
  - floorf
  - floorf128
  - floorf16
  - floorl
2026-02-28 04:32:22 +02:00
Mohamed Emad
ca04a70891
[libc][math] Refactor bf16sub family to header-only (#182115)
Refactors the bf16sub math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182114

Target Functions:
  - bf16sub
  - bf16subf
  - bf16subf128
2026-02-27 21:38:30 +02:00
Jordan Rupprecht
1269a74db9
[bazel] Enable parse_headers for llvm/BUILD.bazel (#183680)
Instead of excluding the whole package, push any existing parse_headers
failures to individual targets. In some cases we can avoid suppressing a
target by adding a few missing deps.
2026-02-27 12:07:06 -06:00
Anonmiraj
7e39b280e8
[libc][math] Refactor nextafter family to header-only (#181673)
closes #181672
2026-02-27 01:52:57 +02:00
Zorojuro
27905b1196
[libc][math] Refactor f16sqrtf128 to Header Only. (#183542)
closes  #175328
part of https://github.com/llvm/llvm-project/issues/147386
2026-02-26 20:48:56 +02:00
Weiwen He
3839878d20
[libc][math] Refactor tanpif16 to header-only (#181240)
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

Closes #181207
2026-02-26 17:49:50 +00:00
Emilio Cota
58e3eae2b3
[bazel] Fix build for 67ac275 (#183510) 2026-02-26 13:30:53 +00:00
Mohamed Emad
8f3dd82a0a
[libc][math][c23] implement asinpif function (#181511)
Implementing `asinpi` for single-precision. it continues what is done in
#152690 that implemented `asinpif16` with header-only approach that is
followed since #147386
2026-02-26 05:05:49 +02:00
Mohamed Emad
d7cdfa1096
[libc][math] Refactor fdim family to header-only (#182190)
Refactors the fdim math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182188

Target Functions:
  - fdim
  - fdimbf16
  - fdimf
  - fdimf128
  - fdimf16
  - fdiml
2026-02-25 21:06:01 +00:00
Anonmiraj
bfaa15ee56
[libc][math] Refactor float16 basic operations to header-only (#181745)
closes: #181744
2026-02-25 20:56:33 +02:00
Anonmiraj
d2d862a544
[libc][math] Refactor nexttoward family to header-only (#181685)
Closes https://github.com/llvm/llvm-project/issues/181684
2026-02-25 18:20:18 +00:00
Anonmiraj
af1bdad42c
[libc][math] Refactor nextup family to header-only (#181688)
Closes https://github.com/llvm/llvm-project/issues/181687
2026-02-25 17:58:11 +00:00
Jordan Rupprecht
7d492dbfdc
[bazel] Fix build format (#183322) 2026-02-25 16:19:11 +00:00
Jordan Rupprecht
19128bf890
[bazel][libc] Add some deps for layering_check (#183235)
This adds a whole bunch of deps to get things _mostly_ building w/
`layering_check` enabled. It does not yet enable `layering_check`.

I used some tools to add deps to all these targets that break when
enabling the layering check feature, and a few things were added in
between when I ran the script and where trunk is at now. Since this is a
large change, I plan to do a second (and possibly third) pass later to
catch those new changes, at which point it would be safer to actually
enable `layering_check` for this package.
2026-02-25 10:06:42 -06:00
Emilio Cota
92ac9aec7e
Fix Bazel build for 9d5574d (#183312)
Co-authored-by: Pranav Kant <prka@google.com>
2026-02-25 15:06:15 +00:00
Anonmiraj
4ef6a8a16e
[libc][math] Refactor nextdown family to header-only (#181679)
closes #181678
2026-02-24 21:38:33 +02:00
Anonmiraj
4a1f565c85
[libc][math] Refactor setpayloadsig family to header-only (#183113)
closes : #181823
2026-02-24 20:47:20 +02:00
Julian Pokrovsky
8ed290cd1d
[libc][math] Refactor asinpif16 to Header Only (#179021)
Resolves https://github.com/llvm/llvm-project/issues/178103

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-02-24 19:55:16 +02:00
Jordan Rupprecht
423719304c
[bazel][libc][math] Fix fmul->mul for bf16mul family (#182018) (#183112)
#182018 made these header only but added the build targets as fmul
instead of mul
2026-02-24 17:54:58 +00:00
Anonmiraj
03388af319
[libc][math] Refactor setpayload family to header-only (#182922)
part of #181823
2026-02-24 19:50:07 +02:00
Mohamed Emad
05a039489d
[libc][math] Refactor bf16mul family to header-only (#182018)
Refactors the bf16mul math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182017

Target Functions:
  - bf16mul
  - bf16mulf
  - bf16mulf128
  - bf16mull
2026-02-24 02:24:01 +00:00
Jordan Rupprecht
0b66a3aa56
[bazel] Add missing llc test dep (#182937)
Used by mlir/test/Dialect/X86Vector/dot-bf16.mlir, which seems to not be
running due to some other misconfiguration.
2026-02-23 21:08:37 +00:00
Jordan Rupprecht
ed6cd322de
[bazel][Clang][AMDGPU][Docs] Port e6f30334de720b0473f1d797c008ccf74fb300b8 (#182925)
Co-authored-by: Pranav Kant <prka@google.com>
2026-02-23 14:16:48 -06:00
Armillus
3b9c27d1fc
[libc][math] Refactor bf16addl implementation to header-only in src/__support/math folder. (#182561)
Resolves https://github.com/llvm/llvm-project/issues/181019
Part of https://github.com/llvm/llvm-project/issues/147386
2026-02-23 19:29:55 +00:00
Anonmiraj
b19a0e0107
[libc][math] Refactor getpayload family functions to header-only (#181824)
Refactors the payload_functions math family to be header-only.

part of: https://github.com/llvm/llvm-project/issues/181823

Target Functions:
  - getpayload
  - getpayloadbf16
  - getpayloadf
  - getpayloadf128
  - getpayloadf16
2026-02-23 21:19:48 +02:00
Mohamed Emad
5bccf343e6
[libc][math] Refactor bf16fmaf128 to header-only (#182009)
Close #181627
2026-02-23 21:06:20 +02:00
Kern Handa
6705802ce2
[lldb][bazel] Add HighlighterDefault, rename ClangHighlighter targets (#182693)
Rename `PluginClangHighlighter` to `PluginHighlighterClang` for
consistency with the directory-based naming convention, add the new
`PluginHighlighterDefault` library, and register both `HighlighterClang`
and `HighlighterDefault` in `DEFAULT_PLUGINS`.
2026-02-23 10:19:19 -08:00
Jordan Rupprecht
5c929816a3
[bazel][NVVM][MLIR] Port 7d9b863bc39f690c6f7716dd27d24e6ccfcfae33 (#182588)
Co-authored-by: Pranav Kant <prka@google.com>
2026-02-20 14:26:44 -06:00
Mohamed Emad
13e6ffda47
[libc][math] Refactor fadd family to header-only (#182185)
Refactors the fadd math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182184

Target Functions:
  - fadd
  - faddf128
  - faddl
2026-02-19 23:59:33 +00:00
Mohamed Emad
b19d21a1e5
[libc][math] Refactor fmax family to header-only (#182165)
Refactors the fmax math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182164

Target Functions:
  - fmax
  - fmaxbf16
  - fmaxf
  - fmaxf128
  - fmaxf16
  - fmaxl
2026-02-19 23:40:52 +00:00
Mohamed Emad
6ac9c2ed7f
[libc][math] Refactor ceil family to header-only (#182121)
Refactors the ceil math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182120

Target Functions:
  - ceil
  - ceilbf16
  - ceilf
  - ceilf128
  - ceilf16
  - ceill
2026-02-20 01:32:17 +02:00
Jackson Stogel
0364443d79
[bazel][mlir] Fix bazel for a8f2e80d5f (#182372) 2026-02-19 13:22:32 -08:00
Jackson Stogel
3c60be2c35
[bazel] Fix build for 8e85a42d5b (#182359) 2026-02-19 13:00:28 -08:00
Jackson Stogel
cd710ef2fd
[bazel][clang] Fix Bazel build after 15488a7f78ce (#182117)
Mimics the changes to cmake files added in 15488a7f78ce.
2026-02-18 12:33:28 -08:00
Jackson Stogel
cc0d7bf580
[bazel] Fix Bazel build for 5c8d247 (#182092)
Co-authored-by: Pranav Kant <prka@google.com>
2026-02-18 10:44:13 -08:00
Serosh
3fafed392d
[libc][math] change bf16fmal to be header-only and constexpr-compat (#181666)
Closes: #181628 
Part of: #147386
2026-02-18 20:14:51 +02:00
Yi Zhang
88930e64c4
[bazel] fix for c5ae550 #179284 (#182050)
fix for c5ae550 #179284

Co-authored-by: Pranav Kant <prka@google.com>
2026-02-18 11:24:23 -05:00
David Zbarsky
2a9ed57efd
[bazel] Add bzl_library for configure.bzl (#181582) 2026-02-18 09:39:47 -06:00
Davide Cunial
8362c03829
[bazel] Add cc_binary rule for 'clang-query' (#182014) 2026-02-18 09:30:25 -06:00
AbdallahRashed
7ad2a632a3
[libc][math] Refactor bf16divl to header-only (#181535)
Part of https://github.com/llvm/llvm-project/issues/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
Closes #181025
2026-02-18 14:09:18 +00:00
Vachan
79f8eba842
[libc][math] Refactor logbl to header only (#181659)
Closes #175366
2026-02-18 14:03:17 +00:00
Atharv Mane
b92ab89ed6
[libc][math] Refactor f16add Math Functions to Header Only (#181777)
Resolves #181630
Part of #147386
2026-02-18 15:55:53 +02:00
Xinlong Chen
b576429342
[libc][math] Refactor tanpif to header only (#181525)
Part of https://github.com/llvm/llvm-project/issues/147386
2026-02-18 15:53:27 +02:00
Xinlong Chen
1cb86450d8
[libc][math] Refactor tanf16 to header only (#181523)
Part of https://github.com/llvm/llvm-project/issues/147386
2026-02-18 15:50:11 +02:00
Abhijeet
61616f2d59
[libc][math] Refactored bf16fmaf to Header Only (#181919)
Fixes #181626
2026-02-18 00:34:02 +02:00
Ash
cc5909b3e3
[libc][math] Refactor sincos implementation to header only (#177522)
Part of llvm#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

Closes #177638
2026-02-17 23:57:05 +02:00
bala-bhargav
0eaf12321e
[libc][math] Refactor bf16divf implementation to header-only in src/__support/math folder. (#181086) 2026-02-17 23:52:03 +02:00
Dhruv
9bf11863d1
[libc][math] Refactor logb implementation to header-only (#175719)
Fixes #175365
2026-02-17 21:34:38 +00:00
Viktor Moros
550c48b02e
[libc][math] Refactor bf16addf to header only (#181230)
Resolves #181017 
Part of #147386
2026-02-17 21:31:57 +00:00