llvm/llvm-project

[Clang] Allow __builtin_fma/fmaf/fmal to be used in a constant expression

Open

#154.747 geöffnet am 21. Aug. 2025

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (10.782 Forks)batch import
clang:bytecodeclang:frontendconstexprgood first issue

Repository-Metriken

Stars
 (26.378 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)

Beschreibung

Building on #152455 - now that __builtin_elementwise_fma can be used with constexpr, the scalar __builtin_fma/fmaf/fmal/f16/f128 entries should be able to use the same codepaths.

Contributor Guide