Issue |
142991
|
Summary |
[SPIRV] Implement the llvm.spv.get.specialization.constant intrinsic
|
Labels |
HLSL,
backend:SPIR-V
|
Assignees |
s-perron
|
Reporter |
s-perron
|
This intrinsic is used to get the value of a SPIR-V specialization constant.
The prototye is
```
template <class T>
T llvm.spv.get.specialization.constant intrinsic(uint32_t ID, T DefaultValue);
```
where T is limited to bool, integer types, and floating point types.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs