aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp')
-rw-r--r--backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp b/backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp
index e3ad4eb..d23a2eb 100644
--- a/backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp
+++ b/backend/unittests/CodeGen/TwoAddressInstructionPassTest.cpp
@@ -19,8 +19,8 @@ void testTwoAddressAndSubregisterPseudos(TestContext &Context, const rcc::Target
auto Fixture = createFunction(Context, "two_address", 5, 1);
if (!Fixture.Function || Fixture.Blocks.empty())
return;
- auto I64 = rcc::LLT::makeInteger(64);
- auto I32 = rcc::LLT::makeInteger(32);
+ auto I64 = rcc::LowLevelType::makeCategoryNeutralScalar(64);
+ auto I32 = rcc::LowLevelType::makeCategoryNeutralScalar(32);
if (!I64 || !I32)
return;
auto &Function = *Fixture.Function;