Re: [PATCH] match: Keep conditional in simplification to constant [PR118140].

2025-01-14 Thread Richard Sandiford
"Robin Dapp" writes: >> OK, thanks. >> >> Richard > > The issue is also present on GCC 14 as well and the patch applies cleanly. > Regtested on rv64gcv_zvl512b. To make it explicit: OK to backport to 14? Yes, thanks. Richard

Re: [PATCH] match: Keep conditional in simplification to constant [PR118140].

2025-01-14 Thread Robin Dapp
> OK, thanks. > > Richard The issue is also present on GCC 14 as well and the patch applies cleanly. Regtested on rv64gcv_zvl512b. To make it explicit: OK to backport to 14? -- Regards Robin

Re: [PATCH] match: Keep conditional in simplification to constant [PR118140].

2025-01-10 Thread Richard Sandiford
"Robin Dapp" writes: > Hi, > > in PR118140 we simplify > > _ifc__33 = .COND_IOR (_41, d_lsm.7_11, _46, d_lsm.7_11); > > to "1": > > Match-and-simplified .COND_IOR (_41, d_lsm.7_11, _46, d_lsm.7_11) to 1 > > when _46 == 1. This happens by removing the conditional and applying > a | 1 = 1. Nor

[PATCH] match: Keep conditional in simplification to constant [PR118140].

2025-01-10 Thread Robin Dapp
Hi, in PR118140 we simplify _ifc__33 = .COND_IOR (_41, d_lsm.7_11, _46, d_lsm.7_11); to "1": Match-and-simplified .COND_IOR (_41, d_lsm.7_11, _46, d_lsm.7_11) to 1 when _46 == 1. This happens by removing the conditional and applying a | 1 = 1. Normally we re-introduce the conditional and