[llvm-bugs] [Bug 44909] New: [AMDGPU][MC][GFX908] v_accvgpr_write does not accept SGPRs as src0

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 14 06:22:47 PST 2020


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

            Bug ID: 44909
           Summary: [AMDGPU][MC][GFX908] v_accvgpr_write does not accept
                    SGPRs 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

v_accvgpr_write should accept any valid GFX9 operand as src0 (except for
literals). This is confirmed by Justin Smith (though lds_direct case is not
clear yet).

LLVM assembler currently limits src0 operands with VGPRs and inline constants.

Examples of failed tests:

    v_accvgpr_write a2, s1
    v_accvgpr_write a2, flat_scratch_lo
    v_accvgpr_write a2, exec_lo

-- 
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/20200214/6d3430ee/attachment.html>


More information about the llvm-bugs mailing list