aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorNatalie Chouinard <sudonatalie@google.com>2024-04-09 09:41:47 -0400
committerGitHub <noreply@github.com>2024-04-09 09:41:47 -0400
commit1e44d9ac5e9d1ff8baa99fd5495477f3f2f1abe6 (patch)
treeab0802b4dfecbe4d2eea7ff9126527cad92823c3 /clang/lib/Frontend/InitPreprocessor.cpp
parent6f6336858e4588ebd113ebcc930f6384a4edca54 (diff)
downloadllvm-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