Fix destination type for the ConditionalSelect IR instruction

This commit is contained in:
gdkchan 2019-05-29 21:58:40 -03:00
parent 4246257d16
commit ab53424831

View file

@ -83,7 +83,7 @@ namespace ARMeilleure.Translation
public Operand ConditionalSelect(Operand a, Operand b, Operand c)
{
return Add(Instruction.ConditionalSelect, Local(a.Type), a, b, c);
return Add(Instruction.ConditionalSelect, Local(b.Type), a, b, c);
}
public Operand Copy(Operand a)