From fbfaec4b5146553c117787947eb81da43271ed74 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 9 Jan 2026 21:56:26 +0100 Subject: ir/simpl: stub out some code that wasn't properly tested and broken I'll figure it out later, but I better not have a broken trunk --- ir/simpl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ir/simpl.c') 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) { -- cgit v1.2.3