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

    <tr>
        <th>Summary</th>
        <td>
            (llvm) (aarch32) base function failure  missing  return statement of 'writeRegister'
        </td>
    </tr>

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

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

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

<pre>
     /llvm/lib/ExecutionEngine/JITLink/aarch32.cpp

   168  template <EdgeKind_aarch32 Kind>
   169  bool checkRegister(const ThumbRelocation &R, HalfWords Reg) {
   170    uint16_t Hi = R.Hi & FixupInfo<Kind>::RegMask.Hi;
   171    uint16_t Lo = R.Lo & FixupInfo<Kind>::RegMask.Lo;
   172    return Hi == Reg.Hi && Lo == Reg.Lo;
   173  }
   174
   175  template <EdgeKind_aarch32 Kind>
   176  bool **writeRegister**(WritableThumbRelocation &R, HalfWords Reg) {
   177    static constexpr HalfWords Mask = FixupInfo<Kind>::RegMask;
   178    assert((Mask.Hi & Reg.Hi) == Reg.Hi && (Mask.Hi & Reg.Hi) == Reg.Hi &&
   179           "Value bits exceed bit range of given mask");
   180    R.Hi = (R.Hi & ~Mask.Hi) | Reg.Hi;
 181    R.Lo = (R.Lo & ~Mask.Lo) | Reg.Lo;      ****//  missing  return statement**** 
   182  }
   183
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVE2P2zYU_DVPl4ca5KOtj4MOznqFTbu9GEFzDCj5WWZXpgySSraX_PaCtLyrXRRtE0OwKVkzGs6Mnvbe9Ja5hs0H2OwyPYXT6OqLtiSEEFk7Hv6qEagZhq_n-GNaoOb-mbspmNHe295YBmp-_fjp0dgnoEZr150UrbrLBcQOxPb6jYgyLxEDny-DDoyg7u4PPf9m7OHLjMF4Aup-gagQ23EcsDtx97Tn3vjADqjsRusDfjpN53bPw9jpqAaB8j3QHT7o4fh5dAePe-6BKoTiwytpIRARJ2ODzL8EfDAIaof7VVxQjo15ni4f7XEEdXcTpLagtnvuf9f-afVgQC3p5Bu6x3Gmi4v_Q_c4vqWjSOc4TM7O2hIf97PASHp9yO36ewaFCMVucWG9WG9-NIMinzMA2gJtvzkT-DWJbTrKz84E3Q78k4kUcc8-6GA6TNHy88UtQNGoZOt_ufnWiDLSau_ZBaASqJzzS8FcHU1a_sniH7p78cwKXz9A9IceJsbWBI_83DEf4hqdtj3jeMTefGWL56icCKh6o79MRb0WU-2iopeSfr81MVl5d5P3gpalvGLnOibs3Mjvt9otsKlCN9HbxdEANYhn472x_UsvY1R8ZhuWN-NCOb2rYKmyQ60Olap0xrUshChElUvKTvVR6sOmOkq96Vq1ViS5pLZSxVoXbStJZaYmQUpKUkKRkLTKj7JbC7lphS5lnq9hLfiszbCKQ2o1uj4z3k9cF4oEZYNuefBpwBFZ_obpz2j3Zpe5OmJ-aafew1oMxgf_yhJMGLgGKq_Dr4ouzq9JPGu1ZzxOtktNP2ozTI7_xauYN1Dx7gUqsskN9SmEi49NTob3JpymdtWN58XkjTovbvyTuwDUpE14oCZt8u8AAAD__0vapVw">