[llvm-bugs] [Bug 49712] New: [MCA] In-order pipeline does not terminate for some AMDGPU instructions

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 24 06:56:26 PDT 2021


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

            Bug ID: 49712
           Summary: [MCA] In-order pipeline does not terminate for some
                    AMDGPU instructions
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-mca
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.savonichev at gmail.com
                CC: andrea.dibiagio at gmail.com, llvm-bugs at lists.llvm.org,
                    matthew.davis at sony.com

MCA does not terminate for AMDGPU/gfx10-double.s:

  ; FIXME: This instructions sends llvm-mca into an infinite loop
  ;v_div_scale_f64 v[0:1], vcc_lo, v[0:1], v[0:1], v[0:1]

The problem is that the instruction has 2 uops, and the processor's IssueWidth
is 1.
InOrderIssueStage treats IssueWidth as the maximum number of uops that can be
issued in one cycle. On the other hand, the documentation for MCSchedModel says
that IssueWidth is the maximum number of *instructions*.

-- 
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/20210324/f84f699b/attachment.html>


More information about the llvm-bugs mailing list