Re: [to-be-committed] [RISC-V] Improve bset generation for another case

2024-07-09 Thread Jeff Law
On 7/9/24 12:05 PM, Jeff Law wrote: So another minor improvement for bitmanip code generation. Essentially we have a pattern which matches a bset idiom for x = zero_extend (1 << n).   That pattern only handles SI->DI extension. For the QI/HI case the 1

[to-be-committed] [RISC-V] Improve bset generation for another case

2024-07-09 Thread Jeff Law
So another minor improvement for bitmanip code generation. Essentially we have a pattern which matches a bset idiom for x = zero_extend (1 << n). That pattern only handles SI->DI extension. For the QI/HI case the 1