<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64352>64352</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[OpenMP] `-Xopenmp-target=<triple> <arg>` does not pass `<arg>` to `<triple>`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AntonRydahl
</td>
</tr>
</table>
<pre>
I don't know if this is the desired behavior, but I tried to pass `-verify` to the offloading toolchain. With `-Xopenmp-target -verify` I get the warning `argument unused during compilation: '-Xopenmp-target -verify'`. I instead tried to pass it as `-Xopenmp-target=amdgcn-amd-amdhsa -verify` to pass it to the offloading toolchain, and while the warning was not emitted, the `-verify` argument was also not passed to the offloading toolchain when compiling for an `amdgcn-amd-amdhsa` target. Is this the expected behavior?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk9v5CgQxT8NvpTaosF_4oMP2SQt9WG1q73sXLEpG2YwWFBOT779COfPpKNkDpalqnoFv8dTKdnZI_as_ovV94XayITY33oK_r8nrYwrhqCf-jPo4JloCX74cAE7ARmbwCYgg6Ax2YgaBjTq0YbIxB0MG8EZKFrUQAFWlRKwhh8eMdrpiTU8V7M4TJMLSls_A4XgRqOsL-F_S2af_xZW9Mt6IBVnJHinP0Mu5BUXFX3Ws4arOG8LeoLNbwk16C3mzhiW1TpFNngmb4GJ9qvFomUNL-EM1idCpT8gWAKVPrkYk_dq0fPoD2rR-TNJwTXsq_4P3Nk45TVcjHV4hXZRCXwgwMUSoc6DuX3t6Bt8nlYuhV2Sz30m-OpYuBj0Lx7lxhQiKL_b-ZFpZ9mJSzin5xTktfhzxZHeZ0CeCt1L3clOFdgfm-7Iec3btjA9bwVvB9lVTTXy41jJrqplVw9SCDUOjSxsL7iQ_IaLYyfbui3FMGEzNUctmkaMxxtWcVyUdaVzj0sZ4lzYlDbsm0rWonBqQJdeMx37PHQYtjmxijubKP2WkSW3p_-fFf3f_7L6_vPHZfKOol0dMvkATN6pODP5kN3QAdObz1l81aXwUnpT52qxRdcbojUxecvEiYnTbMlsQzmGhYlTvt7L77DG8B1HYuK0IyYmTjvlrwAAAP__dvE7_g">