Index: src/IceTargetLoweringARM32.cpp |
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp |
index 4b2dc98ef735465fb561cf2502a69a98df20d84d..60b89c88edefa40e129a858acbd79e0436c5d7b6 100644 |
--- a/src/IceTargetLoweringARM32.cpp |
+++ b/src/IceTargetLoweringARM32.cpp |
@@ -342,6 +342,9 @@ void TargetARM32::staticInit(GlobalContext *Ctx) { |
TypeToRegisterSet[IceType_v4i32] = VectorRegisters; |
TypeToRegisterSet[IceType_v4f32] = VectorRegisters; |
+ for (size_t i = 0; i < llvm::array_lengthof(TypeToRegisterSet); ++i) |
+ TypeToRegisterSetUnfiltered[i] = TypeToRegisterSet[i]; |
+ |
filterTypeToRegisterSet( |
Ctx, RegARM32::Reg_NUM, TypeToRegisterSet, |
llvm::array_lengthof(TypeToRegisterSet), [](int32_t RegNum) -> IceString { |
@@ -6502,6 +6505,8 @@ void TargetHeaderARM32::lower() { |
} |
llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; |
+llvm::SmallBitVector |
+ TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; |
llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; |
} // end of namespace ARM32 |