-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Description
'__builtin_hlsl_elementwise_isinf' currently always generates the 'llvm.dx.isinf' intrinsic (
return Builder.CreateIntrinsic(retType, Intrinsic::dx_isinf, |
This makes its way to the SPIRV Backend and produces this crash:
https://godbolt.org/z/Me1r6Es7x
In the case of spirv we need to generate a spirv intrinsic instead.
SPIRV Op: OpIsInf
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Type
Projects
Status
Ready