summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/csr-save-restore-order.ll
Commit message (Collapse)AuthorAgeFilesLines
* [MachineScheduler] checkResourceLimit boundary condition updateJinsong Ji2019-06-071-3/+3
| | | | | | | | | | | | | | | | | When we call checkResourceLimit in bumpCycle or bumpNode, and we know the resource count has just reached the limit (the equations are equal). We should return true to mark that we are resource limited for next schedule, or else we might continue to schedule in favor of latency for 1 more schedule and create a schedule that actually overbook the resource. When we call checkResourceLimit to estimate the resource limite before scheduling, we don't need to return true even if the equations are equal, as it shouldn't limit the schedule for it . Differential Revision: https://reviews.llvm.org/D62345 llvm-svn: 362805
* [PowerPC] P9 Scheduling Model: dispatching rule fixesJinsong Ji2019-06-041-24/+24
| | | | | | | | | | | | | | | | This is to address some of the problems in existing P9 resource modeling, especially about the dispatching rules. Instead of using a hypothetical DISPATCHER , we try to use the number of actual dispatch slots, and define SchedWriteRes to model dispatch rules, then update instruction classes according to dispatch rules. All the dispatch rules and instruction classes update are made according to POWER9 User Manual. Differential Revision: https://reviews.llvm.org/D61873 llvm-svn: 362509
* Move csr-save-restore-order.ll to the right placeYi-Hong Lyu2019-05-211-0/+168
llvm-svn: 361306
OpenPOWER on IntegriCloud