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: unassignedb...@nondot.org
          Reporter: dpreobrazhen...@luxoft.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to