[PATCH] D61930: [PowerPC] Add a specific heuristic to schedule the addi before the load
Qing Shan Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 20:16:54 PDT 2019
steven.zhang created this revision.
steven.zhang added reviewers: nemanjai, jsji, stefanp, kbarton, hfinkel.
Herald added subscribers: javed.absar, hiraditya, MatzeB.
Herald added a project: LLVM.
When we are scheduling the load and addi, if all other heuristic didn't take effect, we will try to schedule the addi before the load, to hide the latency, and avoid the true dependency added by RA.
https://reviews.llvm.org/D61930
Files:
llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp
llvm/lib/Target/PowerPC/PPCMachineScheduler.h
llvm/test/CodeGen/PowerPC/schedule-addi-load.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61930.199549.patch
Type: text/x-patch
Size: 6697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/69dd530b/attachment.bin>
More information about the llvm-commits
mailing list