From 128a7dbac4cdb1594b3dac9144cf044695ef2ad9 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 12 Aug 2026 00:43:40 +0800 Subject: [RISCV] Describe the GPR select pseudo --- backend/unittests/Target/RISCVTargetTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/unittests') diff --git a/backend/unittests/Target/RISCVTargetTest.cpp b/backend/unittests/Target/RISCVTargetTest.cpp index 6fa3d40..680d606 100644 --- a/backend/unittests/Target/RISCVTargetTest.cpp +++ b/backend/unittests/Target/RISCVTargetTest.cpp @@ -149,7 +149,7 @@ void testABIAndDebugFacts(TestContext &Context) { void testInstructionFacts(TestContext &Context) { constexpr std::size_t TargetInstructionCount = - static_cast(rcc::riscv::InstructionOpcode::G_CLSW) - + static_cast(rcc::riscv::InstructionOpcode::Select_GPR_Using_CC_GPR) - static_cast(rcc::riscv::InstructionOpcode::LUI) + 1U; auto Target = rcc::riscv::createTargetDescription(); Context.expect(Target.has_value(), "RV64GC target description must be structurally valid"); -- cgit v1.2.3