Simply legacy attribute implement

This commit is contained in:
Feng Chen 2021-11-01 12:00:13 +08:00
parent 49f9a44235
commit f2a4204245
3 changed files with 125 additions and 152 deletions

View file

@ -113,6 +113,9 @@ public:
[[nodiscard]] Id BitOffset8(const IR::Value& offset);
[[nodiscard]] Id BitOffset16(const IR::Value& offset);
Id InputLegacyAttribute(IR::Attribute attribute);
Id OutputLegacyAttribute(IR::Attribute attribute);
Id Const(u32 value) {
return Constant(U32[1], value);
}