Skip to content

[Backport to 20] Several fixes for nan builtin #3647

Merged
vmaksimo merged 2 commits intoKhronosGroup:llvm_release_200from
vmaksimo:pr-3558-to-llvm_release_200
Mar 12, 2026
Merged

[Backport to 20] Several fixes for nan builtin #3647
vmaksimo merged 2 commits intoKhronosGroup:llvm_release_200from
vmaksimo:pr-3558-to-llvm_release_200

Conversation

@vmaksimo
Copy link
Contributor

No description provided.

vmaksimo and others added 2 commits March 12, 2026 04:03
…at type (KhronosGroup#3558)

To avoid name clash between builtins with `half` and `bfloat` return types, introduce return type postfix for
`bfloat nan` builtin in reverse translation to SPIR-V Friendly IR.
…spirv_ocl_nan to unsigned

OpenCL built-in nan's argument type is unsigned.
@vmaksimo vmaksimo merged commit ac3c032 into KhronosGroup:llvm_release_200 Mar 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants