Re: [PATCH] RISC-V: Refactor the function bitmap_union_of_preds_with_entry

2025-06-27 Thread Jin Ma
On Tue, 24 Jun 2025 14:05:54 +0200, "Robin Dapp" wrote: > Hi Ma Jin, > > thanks for looking into this, it has been on my todo list with very low > priority since the vsetvl rewrite. Yes, I've noticed this for quite some time. While the logic itself is sound, it strikes me as quite odd every time

Re: [PATCH] RISC-V: Refactor the function bitmap_union_of_preds_with_entry

2025-06-24 Thread Robin Dapp
Hi Ma Jin, thanks for looking into this, it has been on my todo list with very low priority since the vsetvl rewrite. + /* Handle case with no predecessors (including ENTRY block). */ + if (EDGE_COUNT (b->preds) == 0) { - e = EDGE_PRED (b, ix); - bitmap_copy (dst, src[e->src