mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 07:12:46 +01:00
glasm: Fix phi instruction types
This commit is contained in:
parent
91a3c2c1c0
commit
96962c1d3c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ void EmitPhiMove(EmitContext& ctx, const IR::Value& phi, const IR::Value& value)
|
|||
}
|
||||
const Register phi_reg{ctx.reg_alloc.Consume(phi)};
|
||||
const Value eval_value{ctx.reg_alloc.Consume(value)};
|
||||
switch (phi.InstRecursive()->Arg(0).Type()) {
|
||||
switch (phi.Inst()->Flags<IR::Type>()) {
|
||||
case IR::Type::U1:
|
||||
case IR::Type::U32:
|
||||
case IR::Type::F32:
|
||||
|
|
Loading…
Reference in a new issue