From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others)
Date: Thu, 01 Feb 2018 12:17:01 +0000 [thread overview]
Message-ID: <bug-104902-502@http.bugs.freedesktop.org/> (raw)
[-- 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
next reply other threads:[~2018-02-01 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-01 12:17 bugzilla-daemon [this message]
2018-02-02 8:21 ` [Bug 104902] unpackHalf2x16 causes LLVM Error on GCN 1.2+ cards (and possibly others) bugzilla-daemon
2018-02-02 15:14 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-104902-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.