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

    <tr>
        <th>Summary</th>
        <td>
            Global conditional check is hoisted outside  loop and which is incorrect .
        </td>
    </tr>

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

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

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

<pre>
    Its bug with instcombine and jump-threading for the testcase :

https://godbolt.org/z/ejjE1xo1a
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckMuu1DAMhp8m3URTNU4vk0UWoEMRYs0D5OJpMqRNlbgM8PSo1ZGQzsa2fPvtz9Qalw1Rs-EzG94ac1DIRf9YsYbvJpl9N11js_-jv1Hl9lj4K1Lgcavk8mrjhtxsnj-Pdb9RKGh83Bb-yIVTQE5YyZmKnMlPrHtj3bsNRHs9czAzmJfsbU7U5rIwmP8ymPH5_CJ-Z2Ear6VXUpkGtRgnJRUoJZqgAVQvJ1RuNP30MP3joaQEHO7o7tNg7k3U0IHsJAjRdVKIdhq9uo9GidEKsINifYerialN6dd6ajex1gP1KIZpapKxmOpFBWDDF7-KDOCEVPQ5c7PHUlnfpVip_t9CkRLqrylbk7jLm48U83bGAd1PHisPOVZCz_NBNXrkPOW8XxhfIbpwtsTN5VLQEW-boyT9AVikcNjW5ZXBfAq_u9te8hMdMZivcyuD-XrnXwAAAP__p6ydnA">