<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/152558>152558</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] __cpuidex probably should not be enabled for nvptx triples
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
boomanaiden154
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
boomanaiden154
</td>
</tr>
</table>
<pre>
https://github.com/llvm/llvm-project/pull/126324 introduced failures (discussed on the PR) in certain CUDA compilations. https://github.com/llvm/llvm-project/pull/152556 introduces a temporary patch, but we probably should not be enabling `__cpuidex` on NVPTX targets.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJycks2KHCEUhZ_G2lxSWFZZP4taTLrpZRhCErIb_LlTZbBV9NqZfvvQzUyGbALJyoUo5zvfUaW4LSCuTH5kQugYzyooZzF0cmBCMHlsVKU95vXPu0ZHe113olRY_8DEiYnT5mivujXxzMTJ-8vb8SHl-AMNMXFK1XsmTp0YezGAC5SjrQYtPCvna8YCTMzWFVNLQQsxAO0Ij5-ZWMAFMJhJuQCHr8cHMPGcnFfkYigt_HcUKaQc36MUUEB4TjGrfIWkyOxMHEBXgp8IKUettL9C2WP1FkIk0AgYlPYubMBG_vRkUnUWX9jIbwCfvj1--Q6k8oZU2sauvV36RTW4dpMc5Dz3S9fsq-Fy7Kauk2iMsIsd1CQNar7wkT_zRTZuFVxIPvOpm_pFdu086GU2dpmnYVS8H9jA8aycb2-gbcxb40qpuN4J58Yrjb68ijZehe3Vb17vzei6FTZw7wqV9y_Ikb-v43B_IY_wm--vZdyUxgzhkugFKLvksTQ1-3-fzB2ivJmam8sqfgUAAP__PzvjQA">