commit | 977b5f28cd6fe8ab77daf416bcdcc047072363e6 | [log] [tgz] |
---|---|---|
author | Momchil Velikov <momchil.velikov@arm.com> | Fri Sep 29 09:29:20 2023 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 29 01:35:31 2023 -0700 |
tree | e62bfb583440fa9dc63a9b1902f25095554b67c2 | |
parent | 82c0caec0edf8861317c378a5ff943dd43917d39 [diff] |
[AArch64] Fix a compiler crash in MachineSink (#67705) There were a couple of issues with maintaining register def/uses held in `MachineRegisterInfo`: * when an operand is changed from one register to another, the corresponding instruction must already be inserted into the function, or MRI won't be updated * when traversing the set of all uses of a register, that set must not change GitOrigin-RevId: b454b04d686991626f2de7ad639456bfc96c510a