public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5413d47
)
Promote values accessed via NOP.
author
David Given
<dg@cowlark.com>
Tue, 18 Oct 2016 21:58:03 +0000
(23:58 +0200)
committer
David Given
<dg@cowlark.com>
Tue, 18 Oct 2016 21:58:03 +0000
(23:58 +0200)
mach/proto/mcg/pass_promotefloatops.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/pass_promotefloatops.c
b/mach/proto/mcg/pass_promotefloatops.c
index
3399214
..
ffea3f0
100644
(file)
--- a/
mach/proto/mcg/pass_promotefloatops.c
+++ b/
mach/proto/mcg/pass_promotefloatops.c
@@
-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;