<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/66409>66409</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
update_llc_test_checks: cannot access local variable 'output_type' where it is not associated with a value
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hiraditya
</td>
</tr>
</table>
<pre>
Attached testcase file.
[pr66245.ll.txt](https://github.com/llvm/llvm-project/files/12611874/pr66245.ll.txt)
```
$ ~/llvm-project$ llvm/utils/update_llc_test_checks.py --llc-binary build/bin/llc llvm/test/CodeGen/RISCV/rvv/pr66245.ll
Traceback (most recent call last):
File "/usr/local/home/llvm-project/llvm/utils/update_llc_test_checks.py", line 285, in <module>
main()
File "/usr/local/home/llvm-project/llvm/utils/update_llc_test_checks.py", line 240, in main
output_type.add_checks(
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'output_type' where it is not associated with a value
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8lE2PmzwUhX-N2VwFgcEEFiwyyfDqlbrq1za62DfBHQcj22SaTX97ZZKZtjOV2i5ayeJD9j33PMcG9F4fR6KWiTsmdgnOYbCuHbRDpcMFk96qS7sJAeVACgL5INETHLShlGU7lm2YuJtcVfFSpMak4XNgYsd4PYQweVZsGO8Y7446DHOfSntivDPm_HRbTc5-IhkY76KkZ7zLeZXn9bpkvHuhy5tbx-u1ym7j-spL-PJKtYRbszloE9XnSWGgvTFyH2H2ciD54NPpAquVMXLV6xHdBfpZG8V41-tx0ZRPOrGI8W5rFf1Hce7t_--2Hxnv3Pn8g2O42nrvUFKP8gEYr0_WB3AkaQwg0Rgw6Bes4sYE0GlDwDiPVr2Lva1Ew3g32BO9Du136RbFLRg9EvBaxGc9Aiu2J6tmQ6y4fzIAcMIIXT_H_W9MldnN1NL-2YydwzSHfbhMlKJSt-Jo77qEiftfjGXdh7G386jeRN_3zlnHig1IHEcbAKUk72FhgjM6jf2Cu_6uN-NreBzIEegA2sNS572VGgMpeNRhAIQzmplenM5EtYVqigYTavOqKdd50TRNMrSYZcU6EwdBqhbU4yETUoi64bk8FKKpEt3yjBdZk5f5WhR5laLqVXXAplFyjSQEKzM6oTZpDDy17pho72dqq6rMmsRgT8YvHzbnIz3CMhkzF7vEtcue9fPRszIz2gf_TSXoYKj9-bb9vdyS2Zn2j_8aC1Q8ZQv01wAAAP__Ax-G5A">