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

    <tr>
        <th>Summary</th>
        <td>
            Program terminated with signal: SIGKILL Compiler returned: 137
        </td>
    </tr>

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

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

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

<pre>
    To reproduce run the following test with -passes=loop-vectorize on opt:
```
; ModuleID = './reduced.ll'
source_filename = "./reduced.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-ni:1-p2:32:8:8:32-ni:2"
target triple = "x86_64-unknown-linux-gnu"

define void @wombat() #0 gc "statepoint-example" {
bb:
  call void @llvm.assume(i1 false)
  call void @llvm.assume(i1 false)
  br label %bb6

bb1: ; preds = %bb2, %bb6
  br label %bb2

bb2: ; preds = %bb2, %bb1
  %phi = phi i32 [ %add4, %bb2 ], [ 0, %bb1 ]
  %phi3 = phi i32 [ 0, %bb2 ], [ 0, %bb1 ]
 %add = add i32 0, 0
  %add4 = add i32 %phi, 1
  %icmp = icmp ugt i32 %phi, 0
  br i1 %icmp, label %bb1, label %bb2

bb5: ; preds = %bb5
  br i1 false, label %bb6, label %bb5

bb6: ; preds = %bb5, %bb
  %phi7 = phi i32 [ 0, %bb5 ], [ 0, %bb ]
  br label %bb1
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #1

attributes #0 = { "target-features"="+prfchw,-cldemote,+avx,+aes,+sahf,+pclmul,-xop,+crc32,-amx-fp8,+xsaves,-avx512fp16,-usermsr,-sm4,-egpr,+sse4.1,-avx512ifma,+xsave,+sse4.2,-tsxldtrk,-sm3,-ptwrite,-widekl,-movrs,+invpcid,+64bit,+xsavec,-avx10.1-512,-avx512vpopcntdq,+cmov,-avx512vp2intersect,+avx512cd,+movbe,-avxvnniint8,-ccmp,-amx-int8,-kl,-avx10.1-256,+evex512,-avxvnni,+rtm,+adx,+avx2,-hreset,-movdiri,-serialize,-sha512,-vpclmulqdq,+avx512vl,-uintr,-cf,+clflushopt,-raoint,-cmpccxadd,+bmi,-amx-tile,+sse,-avx10.2-256,-gfni,-avxvnniint16,-amx-fp16,-zu,-ndd,+xsaveopt,+rdrnd,+avx512f,-amx-bf16,-avx512bf16,-avx512vnni,-push2pop2,+cx8,+avx512bw,+sse3,+pku,-nf,-amx-tf32,-amx-avx512,+fsgsbase,-clzero,-mwaitx,-lwp,+lzcnt,-sha,-movdir64b,-ppx,-wbnoinvd,-enqcmd,-amx-transpose,-avx10.2-512,-avxneconvert,-tbm,-pconfig,-amx-complex,+ssse3,+cx16,+bmi2,+fma,+popcnt,-avxifma,+f16c,-avx512bitalg,-rdpru,+clwb,+mmx,+sse2,+rdseed,-avx512vbmi2,-prefetchi,-amx-movrs,-rdpid,-fma4,-avx512vbmi,-shstk,-vaes,-waitpkg,-sgx,+fxsr,+avx512dq,-sse4a,-avx512f" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) "target-features"="+prfchw,-cldemote,+avx,+aes,+sahf,+pclmul,-xop,+crc32,-amx-fp8,+xsaves,-avx512fp16,-usermsr,-sm4,-egpr,+sse4.1,-avx512ifma,+xsave,+sse4.2,-tsxldtrk,-sm3,-ptwrite,-widekl,-movrs,+invpcid,+64bit,+xsavec,-avx10.1-512,-avx512vpopcntdq,+cmov,-avx512vp2intersect,+avx512cd,+movbe,-avxvnniint8,-ccmp,-amx-int8,-kl,-avx10.1-256,+evex512,-avxvnni,+rtm,+adx,+avx2,-hreset,-movdiri,-serialize,-sha512,-vpclmulqdq,+avx512vl,-uintr,-cf,+clflushopt,-raoint,-cmpccxadd,+bmi,-amx-tile,+sse,-avx10.2-256,-gfni,-avxvnniint16,-amx-fp16,-zu,-ndd,+xsaveopt,+rdrnd,+avx512f,-amx-bf16,-avx512bf16,-avx512vnni,-push2pop2,+cx8,+avx512bw,+sse3,+pku,-nf,-amx-tf32,-amx-avx512,+fsgsbase,-clzero,-mwaitx,-lwp,+lzcnt,-sha,-movdir64b,-ppx,-wbnoinvd,-enqcmd,-amx-transpose,-avx10.2-512,-avxneconvert,-tbm,-pconfig,-amx-complex,+ssse3,+cx16,+bmi2,+fma,+popcnt,-avxifma,+f16c,-avx512bitalg,-rdpru,+clwb,+mmx,+sse2,+rdseed,-avx512vbmi2,-prefetchi,-amx-movrs,-rdpid,-fma4,-avx512vbmi,-shstk,-vaes,-waitpkg,-sgx,+fxsr,+avx512dq,-sse4a,-avx512f" }
```

Reproducer: https://godbolt.org/z/x7WrWvoxa


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsWFtv67gR_jX0C6FAoizbefCDE8PFQbdA0V1gHxcUObLZUCQPSclKfn3Bi2Q729MLcB4DJBIvM9_MfMMZWaLOibMC2KPmBTXHFR38Rdv9b9S_U0WPemi9W7Wav-9_09iCsZoPDLAdFPYXwJ2WUl-FOmMPzuOr8BdcGOocOFQfpdamGIF5bcUHYK2wNh7VB1Qe0KbMf-UB1S_4b5oPEr4dMaqPGJHtEyInC8EWf5ISkS0qD04PlsEfnZCgaA9ZlHwWJag8eGrP4DGnnkr6rgc_C0PRo_oAhSHbEtWHmsRLmFaP0zDarOOlEMugIjtUHyqyK7pdmUcqLm1m9c26-DUui7BcGDJv7PJ_TdIeeXDVW2HkEtO02_yxWReDelP6qgop1DAVZzUkFVQeOHRCAR614Bity6vuW-oR2SHyjBGpS3xmAcd56sFooXwBE-2NBEQIRtsXVB7aNqUCY0alXKCkHPsn6tzQAyI7UeGOSgeIPP-_oq3FkrYgMSJN226S320beMYh5cYCdzngpm0JIq830c_qZFYn_1W9iuqINOYi4n64i5pg1LyEZcr5ehEOq8c4a15wecOIyzec-k9A5f8MkUxGgHAPAFGqnPGD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