aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ir/simpl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/simpl.c b/ir/simpl.c
index 3aca00e..2b3870c 100644
--- a/ir/simpl.c
+++ b/ir/simpl.c
@@ -260,6 +260,7 @@ simpl(struct function *fn)
inschange += ins(&instrtab[blk->ins.p[curi]], blk, &curi);
}
+#if 0 // FIXME
if (blk->s2 && isintcon(blk->jmp.arg[0])) {
/* simplify known conditional branch */
struct block *s = intconval(blk->jmp.arg[0]) ? blk->s1 : blk->s2;
@@ -274,6 +275,7 @@ simpl(struct function *fn)
}
goto DoIns;
}
+#endif
/* thread jumps.. */
if (!blk->phi.n && !blk->ins.n) {