map llvm.maxnum
to NMax
instead of FMax
and llvm.minnum
to NMin
instead of FMin
#87072
Labels
llvm.maxnum
to NMax
instead of FMax
and llvm.minnum
to NMin
instead of FMin
#87072
FMax (Floating-Point Maximum):
NMax (NaN-Aware Maximum):
Originally posted by @sudonatalie in #86844 (comment)
This issue is to track the work to
SPIRVInstructionSelector.cpp
and make sure changing theTargetOpcode
toGL::FMin
GL::FMax
doesn't break OpenCL.https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp#L433C1-L438C67
I suspect we will be able to change
to
without effecting openCL.
The text was updated successfully, but these errors were encountered: