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

    <tr>
        <th>Summary</th>
        <td>
            [llc] llvm-isel-fuzzer--aarch64-O2: Timeout in llvm-isel-fuzzer--aarch64-O2
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:codegen,
            llvm:crash,
            llvm:SelectionDAG
      </td>
    </tr>

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

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

<pre>
    Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65318

Original test case was using aarch64 but bugpoint found the same issue with my native x86 build

```ll
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

define void @test(i10000 %Arg) {
  %B = srem i10000 %Arg, %Arg
  store i10000 %B, ptr poison, align 4
  ret void
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U0uPszgQ_DXm0iIyNq8cOJAPsYc9jDSz95XBDXjX2MiPef36FSSZzczhk6JOd7taXWqqhPdqNogNKS6k6BIRw2Jd8_zni1qtSQYrP5pnlHFECZOzKywhbJ7wlrCesH6Isz-Ni7OriuvJupmwfiOst96nU_z8JKxX3kf0hPUSg1Ca8F5Jwruy4FlNaEdoe41PTs3KCA0BfYBReIQ34SF6ZWYQwo1LmcMQAwxx3qwyASYbjYSwIHixIhyL4E2FBdYPMCKoV4T3uoQhKi0fV5GSXn9aXxtBuBkDSBGEFh82BiC8A8IYpivhLaYbqyjhLWdH2Mvse7lnZX6EVH0lGasJbzNWp1NNb5k5WuV9vMzTlx3G2DcqwalN453Ge13-XeZpNP8a-2ZSrUx8T2cTv6auUeKkDMKrVRJITvdDElarjFJKgbCi3b_PGUh1ueJhb16OJd7hCj-Qv-7ZDeyDdfgAuuyQLTjYrPLW7JXQajaQ3ycchoPNjWTV_bh_Ihsuz_wsEmyyivI8q_KiTpamErkYaFaIrGBnjtNZIC_repLnWjBZl4lqGGU8YyzPMk6L-lQWw5SPRVWVXI4THUhOcRVKn7R-PZSZHPpoqpLzLNFiQO0P0TO2IwhvRytxRrPflP16aDvhl5_NF9Q4BmVN1_6xvxVd4pr9Ld0dQXKqlQ_-_91BBX14TOuRFB0cUOVRHy5Bl6Y3hadPuyjgL7XiLkNlfgtNotPNd0fOKixxOI12Jaw_2F7_0s3Zf3AMj448bvFfAAAA__9oEC-J">