All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others)
@ 2018-02-01 12:17 bugzilla-daemon
  2018-02-02  8:21 ` bugzilla-daemon
  2018-02-02 15:14 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-02-01 12:17 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 3801 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104902

            Bug ID: 104902
           Summary: unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards
                    (and possibly others)
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: johnnyonflame@hotmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Included in this bug report is code to reproduce the crash without the actual
application and the necessary data.

https://gist.github.com/JohnnyonFlame/d5e0daf640b3ebd3c02f6e0327d53b55

Crash log:
LLVM ERROR: Cannot select: 0x7f12680b09d8: f16 = bitcast 0x7f12680a83b8
  0x7f12680a83b8: i32 = srl 0x7f12680a82e8, Constant:i32<16>
    0x7f12680a82e8: i32 = bswap 0x7f12680b08a0
      0x7f12680b08a0: i32 = and 0x7f12680b01b8, Constant:i32<65535>
        0x7f12680b01b8: i32 = extract_vector_elt 0x7f12680b0150,
Constant:i32<0>
          0x7f12680b0150: v4i32 = bitcast 0x7f12680b00e8
            0x7f12680b00e8: v4f32,ch =
llvm.amdgcn.image.sample<LD16[TargetCustom7(addrspace=2)](dereferenceable)>
0x7f1268033948, TargetConstant:i32<459>, 0x7f12680b0e50, 0x7f12680ab0e8,
0x7f12680ab220, Constant:i32<15>, Constant:i1<0>, Constant:i1<0>,
Constant:i1<0>, Constant:i1<0>, Constant:i1<0>
              0x7f12680affb0: i32 = TargetConstant<459>
              0x7f12680b0e50: v2f32 = BUILD_VECTOR 0x7f12680a87c8,
0x7f12680aaee0
                0x7f12680a87c8: f32 = INTERP_P2 0x7f12680a8898, 0x7f12680ab288,
Constant:i32<0>, Constant:i32<0>, 0x7f12680aae10:1
                  0x7f12680a8898: f32 = INTERP_P1 0x7f12680ab018,
Constant:i32<0>, Constant:i32<0>, 0x7f12680aada8:1




                  0x7f12680ab288: f32 = bitcast 0x7f12680a8b08

                  0x7f12680aaa68: i32 = Constant<0>
                  0x7f12680aaa68: i32 = Constant<0>
                  0x7f12680aae10: ch,glue = SI_INIT_M0 0x7f12680a86f8,
0x7f1268033948

                0x7f12680aaee0: f32 = fsub nsz ConstantFP:f32<1.000000e+00>,
0x7f12680a8760
                  0x7f12680aae78: f32 = ConstantFP<1.000000e+00>
                  0x7f12680a8760: f32 = INTERP_P2 0x7f12680a8830,
0x7f12680ab288, Constant:i32<1>, Constant:i32<0>, 0x7f12680b0908:1





              0x7f12680ab0e8: v8i32,ch =
load<LD32[%30(addrspace=2)](dereferenceable)(invariant)> 0x7f1268033948,
0x7f12680aafb0, undef:i64
                0x7f12680aafb0: i64 = add 0x7f12680a8558, Constant:i64<512>
                  0x7f12680a8558: i64,ch = CopyFromReg 0x7f1268033948,
Register:i64 %3

                  0x7f12680aaf48: i64 = Constant<512>
                0x7f12680ab080: i64 = undef
              0x7f12680ab220: v4i32,ch =
load<LD16[%33(addrspace=2)](dereferenceable)(invariant)> 0x7f1268033948,
0x7f12680ab1b8, undef:i64
                0x7f12680ab1b8: i64 = add 0x7f12680a8558, Constant:i64<560>
                  0x7f12680a8558: i64,ch = CopyFromReg 0x7f1268033948,
Register:i64 %3

                  0x7f12680ab150: i64 = Constant<560>
                0x7f12680ab080: i64 = undef
              0x7f12680b0018: i32 = Constant<15>
              0x7f12680b0080: i1 = Constant<0>
              0x7f12680b0080: i1 = Constant<0>
              0x7f12680b0080: i1 = Constant<0>
              0x7f12680b0080: i1 = Constant<0>
              0x7f12680b0080: i1 = Constant<0>
          0x7f12680aaa68: i32 = Constant<0>
        0x7f12680aac08: i32 = Constant<65535>
    0x7f12680a8350: i32 = Constant<16>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 5484 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others)
  2018-02-01 12:17 [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others) bugzilla-daemon
@ 2018-02-02  8:21 ` bugzilla-daemon
  2018-02-02 15:14 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-02-02  8:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 647 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104902

João Henrique <johnnyonflame@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from João Henrique <johnnyonflame@hotmail.com> ---
Issue has been fixed as of
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20180129/521298.html
so it wasn't really a Mesa bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2324 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others)
  2018-02-01 12:17 [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others) bugzilla-daemon
  2018-02-02  8:21 ` bugzilla-daemon
@ 2018-02-02 15:14 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-02-02 15:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104902

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rtfss1@gmail.com

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
*** Bug 104374 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-02 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 12:17 [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others) bugzilla-daemon
2018-02-02  8:21 ` bugzilla-daemon
2018-02-02 15:14 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.