<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/114291>114291</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AArch64][Win] Enabling speculative load hardening with Windows EH ICEs LLVM
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dpaoliello
</td>
</tr>
</table>
<pre>
To reproduce, run the existing AArch64 speculative load hardening test targeting Windows and producing an obj:
```
build\bin\llc.exe < llvm\test\CodeGen\AArch64\speculation-hardening-loads.ll -verify-machineinstrs -mtriple=aarch64-pc-windows-msvc --filetype=obj
```
Result:
```
<unknown>:0: error: Incorrect size for deadload prologue: 12 bytes of instructions in range, but .seh directives corresponding to 4 bytes
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kltvozoUhX-NedkiMjbk8sBDSpJzKvW8HI2mz8begDuOjXxJmvn1I5NOKlWjkZC5LS_WYn8iBD1axJY0T6Q5FCLFyflWzcIZjca4onfq1n5z4HH2TiWJhHXgk4U4IeC7DlHbEfZ7L6d1DWFGmYyI-oJgnFAwCa_QZknEECEKP-Ky41Vb5a4BhFVwd85PhQXXvxG-J_RA6O91TT-O5bZP2ijSdL22pOmMkSt8RyC8A2MuZ9J0-Uuk6Tqn8B_Mmo90pOke-ZwtH9HKnDSsjIHygl4Pt_Is5KQtahuiD1Ceo9ezQcIPQixO5SzL671AeQ4XCWU5aIPxNmdRbvCn4Pf1fwzJxM-KXzS8S_aHdVdL-JHwPSV8D-i98_ni2UrnPcoIQf9EGJwHhUItf3r2zrgxYdZVDPpbxABugKVEkrlyAG3BCzsuQ-xThFXACZTOlvqCARb7MDurlpE5qO9GX7IWquVqx3eiwLbacMor3qxpMbWbRoqB0YYNVK53Fa9rphRX1XYj2TDwodAto6yuKKfVlu8YXQ18t-GN2Nbbhott3ZOa4llos8rDXDk_FjqEhG1V1WxXFUb0aMKCK2MWr7C8JYxlen2bN5V9GgOpqdEhhk-bqKNZOH_QcCDN02uG6ABHK3qTK_8F4KuO0wPb47_w3B0DvLx8_69I3rRTjHPIU2Unwk6jjlPqV9KdCTstWN5P5ezdG8pI2GkJHgg7fTS7tOxXAAAA__9UrCRQ">