[Bug 70199] clang+llvm from svn crashes when generating opencl code for 64 bit types

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 22 15:35:39 UTC 2017


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

Vedran Miletić <vedran at miletic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |99553
         Resolution|---                         |WORKSFORME
                 CC|                            |jan.vesely at rutgers.edu
             Status|NEW                         |RESOLVED

--- Comment #11 from Vedran Miletić <vedran at miletic.net> ---
I am unable to recompile the the LLVM IR files due to the following error:

llc: kk.ll:9:59: error: use of undefined metadata '!1'
  store i64 %div, i64 addrspace(1)* %out, align 8, !tbaa !1
                                                          ^

However, compiling the piglit test with

$ clang -x cl -target r600-- -mcpu=cayman -Dcl_clang_storage_class_specifiers=1
-Xclang -mlink-bitcode-file -Xclang /usr/local/lib64/clc/cayman-r600--.bc
-I/usr/local/include/clc/ -include /usr/local/include/clc/clc.h kernel.cl

produces no crashes. If anyone can confirm this is still an issue, please
reopen.


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170322/0fa6a5f9/attachment.html>


More information about the dri-devel mailing list