1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

RegAllocFast: Fix typo in comment

This commit is contained in:
Matt Arsenault 2020-08-25 16:07:35 -04:00
parent 85aefa6cd7
commit 844327af57

View File

@ -1142,8 +1142,8 @@ void RegAllocFast::allocateInstruction(MachineInstr &MI) {
// Kill dead defs after the scan to ensure that multiple defs of the same // Kill dead defs after the scan to ensure that multiple defs of the same
// register are allocated identically. We didn't need to do this for uses // register are allocated identically. We didn't need to do this for uses
// because we are crerating our own kill flags, and they are always at the // because we are creating our own kill flags, and they are always at the last
// last use. // use.
for (Register VirtReg : VirtDead) for (Register VirtReg : VirtDead)
killVirtReg(VirtReg); killVirtReg(VirtReg);
VirtDead.clear(); VirtDead.clear();