Depends on D127203
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
It seems only the (x >> shamt) & mask case is handled, but not (x & in_place_mask) >> shamt; is this an intentional simplification? The current behavior is good though.
Comment Actions
Thanks for reminding me. (x & in_place_mask) >> shamt is not handled in this patch and it indeed can be optimized to bstrpick too. But this is for shl combination but not for and. Please let me handle it in another patch. Thanks again!
Comment Actions
Okay. Immediates in this case need some deeper inspection for confirming it's a single chunk of 1's among 0's, so it's better to split commits.
Then this looks good to me!