[clang] [NVPTX][clang] Ensure CLZ(0) is defined on NVPTX (PR #185630)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 05:49:36 PDT 2026


https://github.com/jhuber6 approved this pull request.

Should be correct, but this is also why I'd suggest everyone use `__builtin_ctzg` instead so you don't need to worry about platform-specific UB.

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


More information about the cfe-commits mailing list