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

            Bug ID: 37566
           Summary: [AMDGPU][MC][AsmParser] Relocations on VALU
                    instructions not parsed
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The AsmParser understands the following assembly source (see e.g.
test/MC/AMDGPU/reloc.s):

    s_mov_b32 s5, global_var3@rel32@lo

But it fails with the following:

    v_mov_b32 v5, global_var3@rel32@lo

... with an error saying that "global_var3@rel32@lo" is an invalid operand for
the instruction.

The expected behavior is that the assembly is correctly parsed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to