Setting mayLiveOut based only on use instructions after allocating the
def block did not work if the use block was allocated before the def
block, since the virtual register uses were already removed.
Fixes bug 41973.
|2 ↗||(On Diff #200706)|
BTW we should probably go with a .mir test if at all possible to be sure the layout of the use and basic blocks remains the same in the future. I.e., that this test keeps testing what it was aimed for.
Nitpicks on the test below.
Thanks for trying.
Could you give a more descriptive name (regalloc-fast-missing-live-out-spill) to the file and list the PR number in the test?