[libclc] libclc: Fix hypot build (PR #186046)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 23:52:23 PDT 2026


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/186046

Bad merge lost the new include

>From da1ee2242423727d60b28f92f8939388322633c3 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Thu, 12 Mar 2026 07:51:52 +0100
Subject: [PATCH] libclc: Fix hypot build

Bad merge lost the new include
---
 libclc/clc/lib/generic/math/clc_hypot.cl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libclc/clc/lib/generic/math/clc_hypot.cl b/libclc/clc/lib/generic/math/clc_hypot.cl
index 7b5a5a7027da0..d25ea0393c32c 100644
--- a/libclc/clc/lib/generic/math/clc_hypot.cl
+++ b/libclc/clc/lib/generic/math/clc_hypot.cl
@@ -12,6 +12,7 @@
 #include "clc/math/clc_fabs.h"
 #include "clc/math/clc_fmax.h"
 #include "clc/math/clc_frexp.h"
+#include "clc/math/clc_frexp_exp.h"
 #include "clc/math/clc_ldexp.h"
 #include "clc/math/clc_mad.h"
 #include "clc/math/clc_sqrt_fast.h"



More information about the cfe-commits mailing list