aboutsummaryrefslogtreecommitdiff
path: root/backend/utils/TableGen/Common/CodeGenTarget.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-28 23:56:19 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-28 23:56:19 +0800
commit7ee5d1913c7cfd0261f86b0ff7be6968b8c07d84 (patch)
tree446dafb95e2f792fee922602b74709c5b9e0777c /backend/utils/TableGen/Common/CodeGenTarget.h
parentf0cfb240d80cb9f4444fb996350c1f88bc69a142 (diff)
downloadrcc-project-7ee5d1913c7cfd0261f86b0ff7be6968b8c07d84.tar.gz
rcc-project-7ee5d1913c7cfd0261f86b0ff7be6968b8c07d84.tar.xz
[Support] Use standard power-of-two checks
Diffstat (limited to 'backend/utils/TableGen/Common/CodeGenTarget.h')
-rw-r--r--backend/utils/TableGen/Common/CodeGenTarget.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/utils/TableGen/Common/CodeGenTarget.h b/backend/utils/TableGen/Common/CodeGenTarget.h
index 2ab6db1..a2aed7c 100644
--- a/backend/utils/TableGen/Common/CodeGenTarget.h
+++ b/backend/utils/TableGen/Common/CodeGenTarget.h
@@ -426,7 +426,6 @@ instructionFlagEnumerator(std::string_view Value) noexcept;
pseudoOwnerEnumerator(std::string_view Value) noexcept;
[[nodiscard]] std::optional<std::string_view>
pipelineStageEnumerator(std::string_view Value) noexcept;
-[[nodiscard]] bool isPowerOfTwo(std::uint64_t Value) noexcept;
class CodeGenTarget final {
public: