<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/119511>119511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MachineSink] llc hang caused by #115111
</td>
</tr>
<tr>
<th>Labels</th>
<td>
llvm:codegen,
llvm:hang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dtcxzyw
</td>
</tr>
</table>
<pre>
Reproducer:
```
; timeout 0.5s bin/llc 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"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main() {
entry:
br label %lbl_1680.i.us.i.outer
lbl_1680.i.us.i: ; preds = %lbl_1680.i.us.i.outer, %lbl_1680.i.us.i
br i1 %tobool415.not.i99.us.i, label %lbl_1680.i.us.i.outer, label %lbl_1680.i.us.i
lbl_1680.i.us.i.outer: ; preds = %lbl_1680.i.us.i, %entry
%tobool415.not.i99.us.i = phi i1 [ true, %entry ], [ false, %lbl_1680.i.us.i ]
br label %lbl_1680.i.us.i
}
```
Bisected to https://github.com/llvm/llvm-project/pull/115111.
cc @paperchalice @qcolombet @chapuni
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMuS4yYU_Rq0oaTioedCC7ld3mWT-YApBNcWGQwKj5l2vj4FttPJVE93xeVCXLjn6pwDuiIEfbEAM-oOqDtWIsXN-VlF-frX7Ue1OnWbf4fdO5UkeMQXRBbUk8efLIgfcNRXcCli0nQBr9oidjJGYg8ZoxpjEFmi8BeIWIkojLjlbMSPGDEG9RXxBeqdDQTxhbMy5JD-N8yzvi1Drf-ZUDYivlA21ueRPGa2LPVPeN_WX3IaY288ote7gSeH17H_2rd1st-s-2Fro216rS823SGILArO2gLWnGHUkqvIGkfEJoyGAyIL2Ohvd28wXj02YgWDEevMar7SfiSNblJodONSBH8v-dMW4gvOXu4eVHjw-gWcvbyz93y1pnkzutU509KusS42epruOezlM2ofZLxL-wHjC_7g95muh6K7i1nHLxWUAvumi8zugKNP8G80Rt2xxN0Bn4UJ8L5ZJe2Ts8pyh-NPt_2gA8gICkeHtxj3kA-dnRA7XXTc0tpIdy23__vzUe_e_QEyInbakzGInSjtKKUNIouU-TbtYgcvN2G0hBz_KZ1x1xViDuQm9mQ1RmSp1MzVxCdRwUwHzsdppJRW2zwNchSg6CB6JddBsHGlg5BKdOR8lryt9MwIaymjlPSMdrSBoWtHoXo2dpNYuUQtgavQpsmMG-cvlQ4hwUzp1FFaFYtC6RCMFW18kU7BBWz-QtjL2_Im7CWvdcfKz0X_mi4BtcToEMNb_aijKT3nNyE3beGLtt9Qd8S5b-QaWIoUQOH1hhHjd8uq5M38v10vSkLxvYj5PrO_AwAA__9wr3Aw">