After p9, we have DQ form lxv and stxv which is a legal r+i address mode for vector type.
Add this address mode to PPCTargetLowering::isLegalAddressingMode
This will impact LSR about DQ form instructions generation.
Paths
| Differential D84735
[PowerPC] mark r+i as legal address mode for vector type after pwr9 ClosedPublic Authored by shchenz on Jul 28 2020, 2:18 AM.
Details
Summary After p9, we have DQ form lxv and stxv which is a legal r+i address mode for vector type. Add this address mode to PPCTargetLowering::isLegalAddressingMode This will impact LSR about DQ form instructions generation.
Diff Detail
Event TimelineHarbormaster returned this revision to the author for changes because remote builds failed.Jul 28 2020, 3:04 AM This revision is now accepted and ready to land.Aug 3 2020, 5:57 PM Closed by commit rG45c46d180e15: [PowerPC] mark r+i as legal address mode for vector type after pwr9 (authored by shchenz). · Explain WhyAug 3 2020, 9:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 282797 llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/prefer-dqform.ll
|