[llvm-bugs] [Bug 45414] New: [AMDGPU][MC][GFX908] v_accvgpr_write should only accept VGPRs and constants as src0

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 3 02:30:44 PDT 2020


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

            Bug ID: 45414
           Summary: [AMDGPU][MC][GFX908] v_accvgpr_write should only
                    accept VGPRs and constants as src0
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: dpreobrazhensky at luxoft.com
                CC: llvm-bugs at lists.llvm.org

Documentation states that v_accvgpr_write may use the following kinds of
operands with src0:

    - VGPRs;
    - inline constants.

However the current implementation also accepts the following operands for
src0:

    - vccz;
    - execz;
    - scc;
    - shared_*;
    - private_*;
    - pops_exiting_wave_id.

These operands should be disabled.

-- 
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/20200403/add11d47/attachment.html>


More information about the llvm-bugs mailing list