diff options
author | Natalie Chouinard <sudonatalie@google.com> | 2024-04-09 09:41:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 09:41:47 -0400 |
commit | 1e44d9ac5e9d1ff8baa99fd5495477f3f2f1abe6 (patch) | |
tree | ab0802b4dfecbe4d2eea7ff9126527cad92823c3 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 6f6336858e4588ebd113ebcc930f6384a4edca54 (diff) | |
download | llvm-1e44d9ac5e9d1ff8baa99fd5495477f3f2f1abe6.zip llvm-1e44d9ac5e9d1ff8baa99fd5495477f3f2f1abe6.tar.gz llvm-1e44d9ac5e9d1ff8baa99fd5495477f3f2f1abe6.tar.bz2 |
[SPIR-V] Map llvm.{min,max}num to GL::N{Min,Max} (#88009)
SPIR-V intsruction selection was mapping the LLVM float min/max
intrinsics to FMin and FMax respectively for GL/Vulkan environments,
which does not match the intrinsics' documented treatment of NaN
operands. This patch switches the mapping to the correctly matched NMin
and NMax operations.
Fixes #87072
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions