Promote values accessed via NOP.

This commit is contained in:
David Given 2016-10-18 23:58:03 +02:00
parent 5413d47029
commit d5071e7df1

View file

@ -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;