Created attachment 93617 [details] This is the output of "R600_DEBUG=cs pyrit selftest", and the piglt all_cl test results of both GPUs OS: Ubuntu 13.10 with Linux kernel 3.13.1 LLVM/Clang: latest git from apt repos, 200925 libclc: git, 20140205 Mesa: git, 201402061930 Graphics card: Radeon R9 270X, aka AMD PITCAIRN Every time I run a Pyrit selftest, it crashes with a segmentation fault. I have tried this on my laptop with the same setup as above, except this had a Radeon HD 6750M (aka AMD TURKS), and it ran fine. I have attached the output of "R600_DEBUG=cs pyrit selftest". I have also attached the output of the piglit all_cl tests for both the 6750M and the R9 270X.
Also, I forgot to mention, I was recompiling pyrit every time I updated any of those repos, and it was from the pyrit svn on google code.
It works for me with these two patches: http://people.freedesktop.org/~tstellar/0001-SelectionDAG-Factor-ISD-MUL-lowering-code-out-of-DAG.patch http://people.freedesktop.org/~tstellar/0002-SelectionDAG-Use-helper-function-to-improve-legaliza.patch Can you test these? I have some other uncommitted patches in my tree, so if it still doesn't work for you with these patches, I will push the branch I'm using somewhere so you can test it.
Created attachment 93640 [details] Piglit tests on the R9 270x before and after the patch
Yes, it works! Thank you. Lets hope these patches land in upstream soon. for posterity's sake, I've uploaded the piglit tests before and after the patch.
closing this as resolved.
(In reply to comment #5) > closing this as resolved. Let's leave this open until the patches are committed.
I've committed these fixes to LLVM.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.