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/MachineFunctionClonerTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/unittests/CodeGen/MachineFunctionClonerTest.cpp') diff --git a/backend/unittests/CodeGen/MachineFunctionClonerTest.cpp b/backend/unittests/CodeGen/MachineFunctionClonerTest.cpp index e923108..e5acc04 100644 --- a/backend/unittests/CodeGen/MachineFunctionClonerTest.cpp +++ b/backend/unittests/CodeGen/MachineFunctionClonerTest.cpp @@ -335,7 +335,7 @@ struct SourceFixture final { return false; rcc::MachineConstantPoolEntryDesc HistoricalConstant; - auto HistoricalInteger = rcc::IntegerImmediate::fromUnsigned(32, 0x01010101U); + auto HistoricalInteger = rcc::APInt::fromUnsigned(32, 0x01010101U); HistoricalConstant.Value = std::move(*rcc::GenericConstantData::integer(std::move(*HistoricalInteger))); HistoricalConstant.Size = 4; -- cgit v1.2.3