Changes
Summary
- [PowerPC] Replace float load/store pair with integer load/store pair when it's only used in load/store Replace float load/store pair with integer load/store pair when it's only used in load/store, because float load/store instructions cost more cycles then integer load/store. A typical scenario is when there is a call with more than 13 float arguments passing, we need pass them by stack. So we need a load/store pair to do such memory operation if the variable is global variable. Differential Revision: https://reviews.llvm.org/D64195
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.h (diff) | llvm.src/lib/Target/PowerPC/PPCISelLowering.h |
![]() | /llvm/trunk/test/CodeGen/PowerPC/float-load-store-pair.ll (diff) | llvm.src/test/CodeGen/PowerPC/float-load-store-pair.ll |
![]() | /llvm/trunk/test/CodeGen/PowerPC/ppc64-smallarg.ll (diff) | llvm.src/test/CodeGen/PowerPC/ppc64-smallarg.ll |
![]() | /llvm/trunk/test/CodeGen/PowerPC/ppc64le-smallarg.ll (diff) | llvm.src/test/CodeGen/PowerPC/ppc64le-smallarg.ll |
![]() | /llvm/trunk/test/CodeGen/PowerPC/pwr7-gt-nop.ll (diff) | llvm.src/test/CodeGen/PowerPC/pwr7-gt-nop.ll |