|
|
|
@ -300,7 +300,7 @@ int RegAlloc::GenerateImmediate(const IR::Value& value) { |
|
|
|
|
|
|
|
return 0; |
|
|
|
} else { |
|
|
|
//static_assert(false);
|
|
|
|
return 0;//static_assert(false);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -369,7 +369,7 @@ int RegAlloc::RealizeReadImpl(const IR::Value& value) { |
|
|
|
} else if constexpr (required_kind == HostLoc::Kind::Flags) { |
|
|
|
ASSERT_FALSE("A simple read from flags is likely a logic error."); |
|
|
|
} else { |
|
|
|
//static_assert(false);
|
|
|
|
return 0;//static_assert(false);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -394,7 +394,7 @@ int RegAlloc::RealizeWriteImpl(const IR::Inst* value) { |
|
|
|
flags.SetupLocation(value); |
|
|
|
return 0; |
|
|
|
} else { |
|
|
|
//static_assert(false);
|
|
|
|
return 0; //static_assert(false);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -415,7 +415,7 @@ int RegAlloc::RealizeReadWriteImpl(const IR::Value& read_value, const IR::Inst* |
|
|
|
} else if constexpr (kind == HostLoc::Kind::Flags) { |
|
|
|
ASSERT_FALSE("Incorrect function for ReadWrite of flags"); |
|
|
|
} else { |
|
|
|
//static_assert(false);
|
|
|
|
return write_loc; //static_assert(false);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|