Promote values accessed via NOP.
This commit is contained in:
parent
5413d47029
commit
d5071e7df1
|
@ -40,6 +40,10 @@ static void promote(struct ir* ir)
|
|||
array_appendu(&promotable, ir);
|
||||
break;
|
||||
|
||||
case IR_NOP:
|
||||
promote(ir->left);
|
||||
break;
|
||||
|
||||
case IR_PHI:
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue