mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-02-19 08:43:01 +00:00
Add OpUndef
This commit is contained in:
@@ -219,6 +219,11 @@ class Module {
|
||||
spv::Decoration decoration,
|
||||
const std::vector<Literal>& literals = {});
|
||||
|
||||
// Misc
|
||||
|
||||
/// Make an intermediate object whose value is undefined.
|
||||
Ref Undef(Ref result_type);
|
||||
|
||||
private:
|
||||
Ref AddCode(Op* op);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user