There are straight forward splat load opportunities blocked by getNormalLoadInput(), since those cases involve consecutive bitcasts. Improve by looking through bitcasts.
Details
Details
- Reviewers
shchenz nemanjai lkail - Group Reviewers
Restricted Project - Commits
- rG88b6d2279199: [PowerPC] Improve getNormalLoadInput to reach more splat load
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/PowerPC/load-and-splat.ll | ||
---|---|---|
1326 | Could you please pre-commit the test? |
Comment Actions
Sounds reasonable.
Yeah, better pre-commit the case with trunk behavior first and then only show the diff in the patch. By doing this, it is more clear to the reviewer what's wrong without this patch and what this patch exactly changes.
Comment Actions
Ah, this is a good point. I guess we didn't consider that we may have a bitcast of a bitcast. Thanks for fixing this. LGTM.
Could you please pre-commit the test?