Promote values accessed via NOP.
authorDavid Given <dg@cowlark.com>
Tue, 18 Oct 2016 21:58:03 +0000 (23:58 +0200)
committerDavid Given <dg@cowlark.com>
Tue, 18 Oct 2016 21:58:03 +0000 (23:58 +0200)
mach/proto/mcg/pass_promotefloatops.c

index 3399214..ffea3f0 100644 (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;