This switches to the workaround that HSA defaults to for the mesa path. This should be applied to the 4.0 branch. Patch by Vedran Miletić <vedran@miletic.net> llvm-svn: 292982
llvm-svn: 280970
llvm-svn: 275309
llvm-svn: 239657