<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63966>63966</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Rework option flag sharing between DXC and CL drivers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
bogner
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bogner
</td>
</tr>
</table>
<pre>
In https://reviews.llvm.org/D155729 I attempted to clean up the logic regarding CLDXCOption so that we could less awkwardly share flags between CL and DXC, but this failed a test on the flang bots and needs some thought.
The idea in that review was that if an option set is explicitly included, then it should show up even if it's excluded. This doesn't work for things like the "HelpHidden" though, since it can be used to filter out options when printing help (notably, it's used this way in flang). We need to come up with a more comprehensive approach to getting this layering correct.
Also, given that the only failure here was on the flang bots, we should invest in some more testing when we do this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkU02L8zYQ_jXyZXiDrcTO-uBDmhD2hUChXeheZWtsTVeRjDSOm39fJGdbSk_GQqPnax4VI00OsRP1L0LK3k8Og5BS1JdCLWx86Lazovf62f10YJjnKPYnIa9CXgM-CNe4s_Zx3_kwCXm9VHV9lC38BMWM95lRA3sYLCoHywxsEKyfaICAkwqa3ATn2-Xz_OvM5B1ED2wUw4ow-MVqsBgjqPVrVUHbJ0SjAsJo1RShR14RHZxvoJyGy-dZyDP0CwMbijAqsqhBAWNk8C5jj1a5CXrPMc84RB0h-jsCG79MhneiPIny9GEQSKMCchuhTSusKm7_NIJy4F-skYEi4F-zpYHYPoHcYBeNOjFigw6IIZqsKBq_JivwkY5HIBbymIa3iR18JPbaY3RCHhlWH75g9CGpclMES1-YtQgp39HO76Q1OiHlS0KCjOQGTJiDctAjLHHLYSTLGMAv_KIeYU3s5kCOUxYG7QxCvjnPqrfP9NaL3_ZEoraqpG-zUsh2B39gNjIHnaxcZliJDSi4-5CCvM8BDbpIDwQ1z8GrwaTbE3JGzc9a9cSQ_gYfAg7fSZxs9InGRMmv7H0S75195oiXgGAwYI7mfymnyRW_rSf3SLtAbos8s0vbkVCzDyuC9plOQi90t9ftvlUFdlXz1r5V5XF_KEzXyxLL5nBojof60NbDONZY9eVQ1_sSZSUL6mQp9-WxauW-ltVhN6iyadujxmaomko14lDiXZH9pzsFxbhg1-zbpims6tHGVy3fb7_fXqUMXbr-o1-mKA6lpcj_lq9gYpurnAfqC_yGeXVeO5o6k-uTxH5X5_J5zj0430AHemCIxRJs99-aT8Rm6XeDvwt5TXCvz485-D9xYCGvmXwU8pr5_x0AAP__gzN5zA">