<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56191>56191</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            ODR warnings in SystemZGenAsmMatcher/AArch64GenAsmMatcher
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          thesamesam
      </td>
    </tr>
</table>

<pre>
    Noticed from same original bug as #56190:
```
/var/tmp/portage/sys-devel/llvm-14.0.5/work/llvm_build-abi_x86_64.amd64/lib/Target/SystemZ/SystemZGenAsmMatcher.inc:56: error: type ‘SubtargetFeatureBits’ violates the C++ One Definition Rule [-Werror=odr]
   56 | enum SubtargetFeatureBits : uint8_t {
      | 
/var/tmp/portage/sys-devel/llvm-14.0.5/work/llvm_build-abi_x86_64.amd64/lib/Target/AArch64/AArch64GenAsmMatcher.inc:215: note: an enum with different value name is defined in another translation unit
  215 | enum SubtargetFeatureBits : uint8_t {
      | 
/var/tmp/portage/sys-devel/llvm-14.0.5/work/llvm_build-abi_x86_64.amd64/lib/Target/SystemZ/SystemZGenAsmMatcher.inc:57: note: name ‘Feature_FeatureSoftFloatBit’ differs from name ‘Feature_HasV8_1aBit’ defined in another translation unit
   57 |   Feature_FeatureSoftFloatBit = 33,
      | 
/var/tmp/portage/sys-devel/llvm-14.0.5/work/llvm_build-abi_x86_64.amd64/lib/Target/AArch64/AArch64GenAsmMatcher.inc:216: note: mismatching definition
  216 |   Feature_HasV8_1aBit = 71,
      | 
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVlc2OmzAQgJ8GLqMgMIGEA4dk07SXdqXdqiv1EpkwgFtjR7ZJmrfvmCSbbZWt9lRpkTEDg-fnYzxUuj6WX7QTW6yhMboHy3sEbUQrFJdQDS1wCwFLszwp4iBdBPEqiBdBHp_H6Zat99zQ7PodzTttHG-RJHu0kxr3KEmWct9PkmkURxndHbT5eX64qQYh6wmvxObXPN_k04j3dT71WlHR_JWbFh0Jj0frsP9-lT6iWtj-M3fbDk0k1JYCzHKaAI3RxgvuuEMIPrBgHgfF_HGo3GhtjdwNBpfC2YuygL3Qkju04DqEu4AtacC9QlhhI5RwQit4GCTZy5aTp7OLla5NkK1OIAAgyyGY3QGqoYdb7sBHNQjl5htHby6fF9LhF_5XoouF2Xaj4izdIsqSzMestEN_5eqU3EG4DmrRNGhQOdhzOSAoXz7CQu2JUU0JRe9r4mnAGa4s8fUUB6J5SZzMvyNib6vB2UtgI5PnEjwntjlfH3Xj1lJzR5leK_GE1Z625O31n7j9Nt8k_M91b8cO2WykB_CPiAj9CtI0YHfvoUzzl9R7YXuvF6o9YRn377Xo8r-yf8FzzHqWvJ71pfuFdZnWRVrw0AknsbxfPcCBG0U-rf8Gt0rklSTCwciyc25nfZNlaxotbbChira6P_O6sNwZ_QO3HoywdkBLgm_PSdiVxQyrpk5TZLOkzlmRVqzBOJtjzeMK8yyUvEJpS-pgAWMKDzCaIJl6WChKFjMW5yxNijTL4qhiKeOsyattMm3yehZMY-y5kJGPI9KmDU05hkQ_CktKKayzVyW3VrQKcXRH9vngOm1Kqkv_m6EzHL2XY_S_AZpDDQA">