If an instruction is sunk into a loop then any kill flags on
operands declared outside the loop must be cleared as these
will be live for all loop iterations.
Fixes #46827
Differential D126754
[MachineSink] Clear kill flags on operands outside loop critson on May 31 2022, 11:10 PM. Authored by
Details If an instruction is sunk into a loop then any kill flags on Fixes #46827
Diff Detail
Unit Tests Event Timeline
Comment Actions Yes, I'll do this.
|
Change this to MO.readsReg() As we don't need to deal with things like undef uses or internal bundle reads.