[llvm-bugs] [Bug 33509] New: [mc][gfx9][Disassembler] Assertion failed with v_pk_add/ashrrev/fma/lshlrev/max/min/mul/mul_lo/sub_X16

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 19 07:51:28 PDT 2017


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

            Bug ID: 33509
           Summary: [mc][gfx9][Disassembler] Assertion failed with
                    v_pk_add/ashrrev/fma/lshlrev/max/min/mul/mul_lo/sub_X1
                    6
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: ASSIGNED
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: artem.tamazov at amd.com
                CC: andrey.kasaurov at gmail.com, artem.tamazov at amd.com,
                    dfukalov at gmail.com, dpreobrazhensky at luxoft.com,
                    i.am.perminov at gmail.com, llvm-bugs at lists.llvm.org,
                    nikolay.haustov at amd.com, sam.kolton at amd.com,
                    valery.pykhtin at gmail.com

Created attachment 18659
  --> https://bugs.llvm.org/attachment.cgi?id=18659&action=edit
Lit tests (produced by by TestGen 1.9)

Example of failing disassembly:
> 0x05,0x80,0x83,0xd3,0x01,0x05,0x02,0x18

Output:
> Assertion failed: idx < size(), file C:\work-1\asm-git-2\llvm\include\llvm/ADT/SmallVector.h, line 153
> #0 0x0065d779 (C:\work-1\asm-git-2\build\Debug\bin\llvm-mc.EXE+0x2dd779)
> #1 0x692515db (C:\Windows\system32\ucrtbased.dll+0xb15db)
> #2 0x69252ba2 (C:\Windows\system32\ucrtbased.dll+0xb2ba2)
> ...

Actual instruction is:
> v_pk_sub_i16 v5, v1, v2 clamp

Tested with 
> r305694 | fe252ff | florian.hahn | 2017-06-19 16:45:41 +0300

Lit tests (produced by by TestGen 1.9) attached.

-- 
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/20170619/9d22507d/attachment.html>


More information about the llvm-bugs mailing list