-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed as not planned
Labels
backend:SPIR-VquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Description
Description
LLVM Language Reference: llvm.is.fpclass
The lowering of llvm.is.fpclass depends on the compile-time constant operand i32 <test>.
Valid bits for <test> are defined in an enum named FPClassTest.
The following FPClassTest cases are of interest:
FPClassTest::fcInf,FPClassTest::fcNan,FPClassTest::fcFinite,FPClassTest::fcNormalmap directly to SPIR-V Ops
The lowering of llvm.is.fpclass to both SPIR-V and DirectX will simplify the codegen for HLSL intrinsics isinf, isnan, and isfinite
SPIRV Ops
OpIsInfOpIsNanOpIsNormalOpIsFinite
Note: The SPIRV specification states that the results of these ops depends on the floating-point encoding used. However, there are currently no alternative floating-point encodings listed in the specification.
dtcxzyw
Metadata
Metadata
Assignees
Labels
backend:SPIR-VquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Type
Projects
Status
Closed