[libc-commits] [libc] [libc] Fix incorrectly enabled GPU math functions (PR #83594)
Matt Arsenault via libc-commits
libc-commits at lists.llvm.org
Tue Mar 5 09:14:58 PST 2024
================
@@ -12,7 +12,7 @@
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(long long, llround, (double x)) {
- return __builtin_llround(x);
+ return static_cast<long long>(__builtin_round(x));
----------------
arsenm wrote:
Is whatever that's doing short enough that we can expand llvm.llround?
https://github.com/llvm/llvm-project/pull/83594
More information about the libc-commits
mailing list