diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-26 17:38:21 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-26 17:38:21 +0800 |
| commit | 36c4344ddf1866005c62910166ca077bf2e8f62e (patch) | |
| tree | 5d9709274dea0587bc351e65752d406267c182ef /backend/utils/TableGen/Common | |
| parent | d54646c69a5117cbeef35f5c3f0d546f4c6bf0e7 (diff) | |
| download | rcc-project-36c4344ddf1866005c62910166ca077bf2e8f62e.tar.gz rcc-project-36c4344ddf1866005c62910166ca077bf2e8f62e.tar.xz | |
[CodeGen] Implement RISC-V finalize-isel
Diffstat (limited to 'backend/utils/TableGen/Common')
| -rw-r--r-- | backend/utils/TableGen/Common/CodeGenInstruction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/utils/TableGen/Common/CodeGenInstruction.cpp b/backend/utils/TableGen/Common/CodeGenInstruction.cpp index 45b597c..a34f5ab 100644 --- a/backend/utils/TableGen/Common/CodeGenInstruction.cpp +++ b/backend/utils/TableGen/Common/CodeGenInstruction.cpp @@ -76,7 +76,7 @@ memoryRoleEnumerator(std::string_view Value) noexcept { [[nodiscard]] std::optional<std::string_view> instructionFlagEnumerator(std::string_view Value) noexcept { - static constexpr std::array<std::pair<std::string_view, std::string_view>, 24> Flags = {{ + static constexpr std::array<std::pair<std::string_view, std::string_view>, 25> Flags = {{ {"terminator", "Terminator"}, {"branch", "Branch"}, {"indirect_branch", "IndirectBranch"}, @@ -101,6 +101,7 @@ instructionFlagEnumerator(std::string_view Value) noexcept { {"fake_use", "FakeUse"}, {"generic", "Generic"}, {"terminal_emission", "TerminalEmission"}, + {"uses_custom_inserter", "UsesCustomInserter"}, }}; const auto *const Position = std::ranges::find(Flags, Value, &decltype(Flags)::value_type::first); if (Position == Flags.end()) |
