llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: llvmbot

<details>
<summary>Changes</summary>

Backport 05da143c63d333420b99eab198e1a89c97480929

Requested by: @<!-- -->windsunil

---
Full diff: https://github.com/llvm/llvm-project/pull/219706.diff


1 Files Affected:

- (modified) libc/include/llvm-libc-macros/float16-macros.h (+1-1) 


``````````diff
diff --git a/libc/include/llvm-libc-macros/float16-macros.h 
b/libc/include/llvm-libc-macros/float16-macros.h
index 528c7f016f873..6c26a6416043c 100644
--- a/libc/include/llvm-libc-macros/float16-macros.h
+++ b/libc/include/llvm-libc-macros/float16-macros.h
@@ -15,7 +15,7 @@
     (!defined(__GNUC__) || __GNUC__ >= 13 ||                                   
\
      (defined(__clang__) && __clang_major__ >= 12)) &&                         
\
     !defined(__arm__) && !defined(_M_ARM) && !defined(__riscv) &&              
\
-    !defined(_WIN32)
+    !defined(_WIN32) && (!defined(__i386__) || defined(__SSE2__))
 #define LIBC_TYPES_HAS_FLOAT16
 
 // TODO: This would no longer be required if HdrGen let us guard function

``````````

</details>


https://github.com/llvm/llvm-project/pull/219706
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to