[libc-commits] [PATCH] D149317: [libc] Support the `abs` functions in the GPU libc.

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 27 04:33:43 PDT 2023


jhuber6 added inline comments.


================
Comment at: libc/config/gpu/api.td:13
+    "ldiv_t",
+    "lldiv_t",
     "size_t",
----------------
sivachandra wrote:
> Why are these types required?
It didn't build, and the `div_t` stuff is simply a struct of integers. I could make this patch provide `div` as well since it's relatively simple.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149317/new/

https://reviews.llvm.org/D149317



More information about the libc-commits mailing list