<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90331>90331</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp: 5 * unused label in switch ?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:X86,
code-quality
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
Static analyser cppcheck says:
1. llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp:1690:5: warning: Label 'CASE_ENCODING_RM' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch]
Source code is
CASE_ENCODING_RM:
Some duplicates:
trunk/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp:2374:3: warning: Label 'CASE_ENCODING_RM' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch]
trunk/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp:879:3: warning: Label 'CASE_ENCODING_RM' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch]
trunk/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp:1637:5: warning: Label 'CASE_ENCODING_VSIB' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch]
trunk/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp:2375:3: warning: Label 'CASE_ENCODING_VSIB' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch]
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzclE9vnDwQxj_NcBkFmTF_lgMHkg2vIr1NpVJVvUXGzIIbL1BsGu23r2AjddteIqWq2l4QmrHHz_Mbe5RzphuYC0iuIdkHavH9OBetbmQUB83YnoraK280qkHZk-MZ9TTpnvUjOnVyIEsQexDP3yhEa78cgSprGqDqvZo79kDVx10KVO2NU87xsbE8n4OXkVBPE8gySnMBskxAlvik5sEM3fr7v2rYIlB2U9a3D7f3N2_3d_f_Pbx7A5ShcTiMHhfHbYh1Py62Rd8bhw2jWjdp5XhdOB7Q94w8aDs6M3TonozXPdAOKAdZISTXy7DW2c6rz9lkf2myHpdZM-qxZTTuMoM_afseTz0eGdtlskYrzz_C8_MyPK7oXkuQZBaDLOUfSPCXedxl-b9uMUpl9vKH8KG-u_4bXZLMkpd38je7DNpCtrnMVcBFlEUxiSzL06AveNdoFYnmIFqZqZRZpSInQXmctVFy2AWmIEGxiCkTuzhP0rBpIj7kUdqqmDnSBLHgozI2XAmG49wFxrmFi1xIGQV2FeO2qUzUKP3IQwuy3LgS0A0QrfPn6vOirPGnNZjsg7lYi101S-cgFtY4776V98ZbLl7dL0wQqMQzM9x0ohmesSLIKlhmW_TeT9t8owqo6ozvlybU4_HixqxKp3n8xHpVsJl3QNXm_2sAAAD__zTyEDY">