[llvm-bugs] [Bug 32270] New: [ARM] MI scheduler should detect opportunities to cluster loads/stores for pairing/merging.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 14 11:56:09 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32270

            Bug ID: 32270
           Summary: [ARM] MI scheduler should detect opportunities to
                    cluster loads/stores for pairing/merging.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: mcrosier at codeaurora.org
                CC: llvm-bugs at lists.llvm.org

This can be done by implementing the shouldClusterMemOps() API for ARM.  This
function tells the MI scheduler if two given memory operations should be
scheduled adjacent.  This increases the opportunity for load/store
pairing/merging.

Note that you have to add:
  DAG->addMutation(createLoadClusterDAGMutation(DAG->TII, DAG->TRI));
and/or
  DAG->addMutation(createStoreClusterDAGMutation(DAG->TII, DAG->TRI));
to TargetPassConfig::createMachineScheduler() to have an effect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170314/5bc373f8/attachment.html>


More information about the llvm-bugs mailing list