Skip to content

[SPIRV] Implement the llvm.spv.get.specialization.constant intrinsic #142991

Closed
@s-perron

Description

@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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions