<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylksGOnDAMhp8GLlYRE8gMHDhMd7V7WnWkturZEA_JbiAoMVu1T19DafsAlRI5jsmf3_nog_nRfbEE15dHGJcVehzeaDZgAqU5UxcG796k_LkE9D4MmAr4RjATGeAAQyRkArY0gZu3eHwmJ2QjMaEp4AHXRAk-LTS_3GCJYYw4JQjzfu3z7etvKUwWkGEI0-K8iLqJitx0lWmrFnNc2YbYvYqzeKfI-Rp9Z5mXlFXXTD3JGB3btS9EQBLv3_-ED3LlKw0sqUtppSQLXV2Uzm1Xtw2au74rRXWr--Z8btTQYnVS2tTnS5N77MmnLtMfM6WCtDAtssjUA0hwS9gS_Zj_vxfXqVLJOJWntm50VdzJVJrM5qm_VJXK6pImdL7YdIoQxzx2u2S_jkmK3iVO_4qYkhsF1GH978Mdhtmx32tX5uj6lUOUbbhF947sfsoUPgdzwEiweByEumAWtiV8t26wIEfHkWI68Lkd6Ub0-JHyvclu7_AXaMTLeA>53725</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Attributor] Privatization allocas are placed in AS 0 which triggers crash in AMDGPU backend
</td>
</tr>
<tr>
<th>Labels</th>
<td>
openmp,
ipo
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
jdoerfert
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jdoerfert
</td>
</tr>
</table>
<pre>
The AMD gpu backend doesn't like AS0 allocas. We need to create them in the alloca AS instead. Causes OpenMP programs on AMD GPU to crash at compile time.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxFkcGO3CAMhp8muViNWJhMNgcOsztqT6uO1FY9Q_AEdkmIwNmqffo6adpKIGMb7O_HNrmf-qtHuLxcYVxWsGZ4w9mBS1jmSnYEMbxx-osAE2MaTGngO8KM6IASDBkNIZDHCcK82eMav-BAITSugWezFizwecH55QZLTmM2U4E0720_3b79KWWKB0MwpGkJkYuGCZvaaeV61ZuaAkXUVft0IcrBrpRy1V7hlsO7ofCLN9c7GMFkhCWagSkZi1kE_PBh8MBPxxFzOdqFHWEjOITXa47aEy2lUpdKfuQ1BvKrbRiLnRjf_5oPLOQVB2I3lLJi4UOrOtnWXuPdGWH7TrheSqVOJ2s7J3CQ97ZXZyHqaCzGssmppEz8MdPCh0o-A5uwpM1pr3XQUkheD-KhPz22qrmjUy06-3g-204pWZ0ETibEZiNqUh7rrHc4u46FkzEUKv-TppQw8vCOxq885nzHTEc7s5JPWf8L17swvav6Dbeetm8">