aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/CodeGen/RegisterAllocationTestSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/CodeGen/RegisterAllocationTestSupport.h')
-rw-r--r--backend/unittests/CodeGen/RegisterAllocationTestSupport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/unittests/CodeGen/RegisterAllocationTestSupport.h b/backend/unittests/CodeGen/RegisterAllocationTestSupport.h
index d93b14e..7f0a641 100644
--- a/backend/unittests/CodeGen/RegisterAllocationTestSupport.h
+++ b/backend/unittests/CodeGen/RegisterAllocationTestSupport.h
@@ -201,7 +201,7 @@ struct FunctionFixture final {
[[nodiscard]] inline Expected<Register>
createVReg(MachineFunction &Function, RegisterClassID Class = TestRegisterClass::GPR64) {
- auto Type = LLT::makeInteger(64);
+ auto Type = LowLevelType::makeCategoryNeutralScalar(64);
if (!Type)
return std::unexpected(Type.error());
auto Reg = Function.registerInfo().createVirtualRegister(*Type);