arm64/reg_alloc: Ban materialization of U1 constants
This commit is contained in:
parent
73b48448cb
commit
6dfd94f3fb
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ void RegAlloc::AssertNoMoreUses() const {
|
|||
|
||||
template<HostLoc::Kind kind>
|
||||
int RegAlloc::GenerateImmediate(const IR::Value& value) {
|
||||
ASSERT(value.GetType() != IR::Type::U1);
|
||||
if constexpr (kind == HostLoc::Kind::Gpr) {
|
||||
const int new_location_index = AllocateRegister(gprs, gpr_order);
|
||||
SpillGpr(new_location_index);
|
||||
|
|
Loading…
Reference in a new issue