From aa7c85ca71859aab15bdf1e6dc1ea3a5aa5d1e28 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Thu, 13 Aug 2026 06:52:15 +0800 Subject: [Support] Split APInt and APFloat ownership --- backend/unittests/CodeGen/MachineVerifierTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/unittests/CodeGen/MachineVerifierTest.cpp') diff --git a/backend/unittests/CodeGen/MachineVerifierTest.cpp b/backend/unittests/CodeGen/MachineVerifierTest.cpp index 528ff3b..c8c512f 100644 --- a/backend/unittests/CodeGen/MachineVerifierTest.cpp +++ b/backend/unittests/CodeGen/MachineVerifierTest.cpp @@ -642,7 +642,7 @@ void testTableReferenceFailures(TestContext &Context) { return; rcc::MachineConstantPoolEntryDesc ConstantDescription; - auto Integer = rcc::IntegerImmediate::fromUnsigned(32, 0x01010101U); + auto Integer = rcc::APInt::fromUnsigned(32, 0x01010101U); ConstantDescription.Value = std::move(*rcc::GenericConstantData::integer(std::move(*Integer))); ConstantDescription.Size = 4; ConstantDescription.Align = *rcc::Alignment::create(4); -- cgit v1.2.3