Auto merge of #141485 - dianqk:early_otherwise_branch_loop, r=oli-obk

mir-opt: Do not create storage marks in EarlyOtherwiseBranch

Fixes #141212.

The first commit add `StorageDead` by creating new indirect BB that makes CFG more complicated, but I think it's better to just not create storage marks.

r? mir-opt
This commit is contained in:
bors 2025-06-10 14:50:54 +00:00
commit 9ffd4d46f7

Diff Content Not Available