aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2024-01-23 16:14:04 +0100
committerGitHub <noreply@github.com>2024-01-23 16:14:04 +0100
commit10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9 (patch)
treecdad3b6c3ae963107e45bee2b2409425bcc7952b
parent087172258a50d5bcabe43aff072a20701f0808ef (diff)
downloadllvm-10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9.zip
llvm-10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9.tar.gz
llvm-10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9.tar.bz2
[libc] Fix forward arm32 buildbot (#79151)
Fix forward #79128
-rw-r--r--libc/src/__support/FPUtil/arm/FEnvImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/__support/FPUtil/arm/FEnvImpl.h b/libc/src/__support/FPUtil/arm/FEnvImpl.h
index 1a89de5..ac4673c 100644
--- a/libc/src/__support/FPUtil/arm/FEnvImpl.h
+++ b/libc/src/__support/FPUtil/arm/FEnvImpl.h
@@ -135,8 +135,8 @@ LIBC_INLINE int set_except(int excepts) {
LIBC_INLINE int raise_except(int excepts) {
float zero = 0.0f;
float one = 1.0f;
- float large_value = FPBits<float>::max_normal();
- float small_value = FPBits<float>::min_normal();
+ float large_value = FPBits<float>::max_normal().get_val();
+ float small_value = FPBits<float>::min_normal().get_val();
auto divfunc = [](float a, float b) {
__asm__ __volatile__("flds s0, %0\n\t"
"flds s1, %1\n\t"