From f3ca2577372eaae7056db24982abfc54be8f4cc1 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 14 Mar 2025 13:09:21 +0100 Subject: gvn/gcm review - Many stylistic nits. - Removed blkmerge(). - Some minor bug fixes. - GCM reassoc is now "sink"; a pass that moves trivial ops in their target block with the same goal of reducing register pressure, but starting from instructions that benefit from having their inputs close. --- fold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fold.c') diff --git a/fold.c b/fold.c index 87e5824..7d0b04c 100644 --- a/fold.c +++ b/fold.c @@ -13,7 +13,7 @@ iscon(Con *c, int w, uint64_t k) return (uint32_t)c->bits.i == (uint32_t)k; } -static int +int foldint(Con *res, int op, int w, Con *cl, Con *cr) { union { -- cgit v1.2.3