[libc-commits] [libc] [libc][stdfix] Implement `countlsfx` functions (PR #114318)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Nov 12 10:48:50 PST 2024


================
@@ -62,6 +63,8 @@ foreach(feature IN LISTS ALL_COMPILER_FEATURES)
   set(link_options "")
   if(${feature} STREQUAL "fixed_point")
     list(APPEND compile_options "-ffixed-point")
+  elseif(${feature} STREQUAL "padding_on_unsigned_fixed_point")
+    list(APPEND compile_options "-Xclang=-fpadding-on-unsigned-fixed-point")
----------------
michaelrj-google wrote:

I think you also need to add `-ffixed-point` here.

https://github.com/llvm/llvm-project/pull/114318


More information about the libc-commits mailing list