<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/145940>145940</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL][DirectX][NFC] Move validations from `DXILRootSignature` pass to `Frontend/HLSL/RootSignature`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX,
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
inbelic
</td>
</tr>
</table>
<pre>
This issue tracks a non-functional change to move all, currently static, validations functions into a common interface in `Fronted/HLSL/RootSignature`.
This will allow the re-use of these verification functions for https://github.com/llvm/llvm-project/issues/129940.
AC:
- [ ] Extend `HLSLRootSignature.[h|cpp]` to provide an interface for the basic validations of root signatures
- [ ] `DXILRootSignature` should be updated to depend on `Frontend/HLSL/RootSignature` and use the validation interface provided there
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykk82OmzAQgJ9muIwSOQZDOHDIT1ErbXvo9rBXY4bgrmMj22S7b1-ZbbRJpVaVekKD7PE338zIEPTJEjUg9iCOmZzj6HyjbUdGq6xz_WvzbdQBdQgzYfRSPQeUaJ1dDbNVUTsrDapR2hNhdHh2F0JpDPADqtl7stG8YogyapX-XaTRvUzXAl4TBNQ2OpSo3PnsbIrID1IRaotQstY7G6kH3n58eHwA3n51Lj7qk5Vx9gQlWwPbAdstoC_amATgXjCOhJ5WcyB0Q4oC4YW8HrRaCG4ABudxjHEKkO-At8Dbk47j3K2VOwNvjblcP6vJu--kIvB2cRKAtxte18WVYndIOdhuhSD2COKIH35Esn2qJPHfwa9B7EeoDmqaQByhZMnh5N1F94TyVkUiTAV1Mmh1p9EN6J2LGK5Jw93rULLj06eH351hGN1seuwI56mXkfr0dE9TQnU33u1fxKO0PSa_ieyd6Qb7Vy19OuEp65u8r_NaZtRsKsHqkrGiyMaGBOvKWkjJVV6WotgK6kueVxUb8oFvt5luOOOClbzcVEXFizXl220xVNUmJyrKYgsFo7PUZp2atHb-lC3taTaFqAuWGdmRCcuYc95J9ZzqyndH7UnFJ-Ac-AE4f6uTp1XwzdLubj4FKJjRIYb33FFHsyzNckEcQeyvqZbgS3tI7j-nbbgbee_Of-zIJENITfgn9dnsTfMfI_um5dLwnwEAAP__WjNQoA">