[llvm-bugs] [Bug 25121] New: [AArch64] Set preferred loop alignment

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 9 06:50:37 PDT 2015


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

            Bug ID: 25121
           Summary: [AArch64] Set preferred loop alignment
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: mssimpso at codeaurora.org
          Reporter: mcrosier at codeaurora.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Each target can specify a preferred loop alignment. Currently, X86, PowerPC and
Hexagon set the default alignment to 16 bytes.  The AArch64 target defaults to
zero, which means AArch64 does not care about loop alignment.

AFAICT, the parameter is used by the block placement pass to align single basic
block loops.  We should investigate setting the preferred loop alignment.

// Find defs
grep -r setPrefLoopAlignment llvm

// Find uses
grep -r getPrefLoopAlignment llvm

-- 
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/20151009/56224633/attachment.html>


More information about the llvm-bugs mailing list