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

            Bug ID: 28201
           Summary: [mc] Some F64 insns (v_add_f64 etc.) -- integer inline
                    literal with abs modifier -> "unknown token in
                    expression"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: artem.tama...@amd.com
          Reporter: artem.tama...@amd.com
                CC: llvm-bugs@lists.llvm.org, nikolay.haus...@amd.com
    Classification: Unclassified

Created attachment 16582
  --> https://llvm.org/bugs/attachment.cgi?id=16582&action=edit
00204.tests_tg_gfx7_asm_lit1_bug.06.08.min.v_add_etc_f64-iconst-abs_syntax

Example of failing instruction:
> v_add_f64 v[0:1], 0, |0|

> llvm-mc.exe -arch=amdgcn -mcpu=bonaire v_add_f64_00435.s
> v_add_f64_00435.s:3:25: error: unknown token in expression
> v_add_f64 v[0:1], 0, |0|
>                         ^

Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)

GFX7 lit tests attached.

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

Reply via email to