[AArch64] Fix debug printing crash in AArch64RedundantCopyElimination
The LastChange can be MBB->end(), so it is not valid to dereference it for printing. Fix the DEBUG statement to check for end() and handle it specially.
parent
50e1ad6e
Please register or sign in to comment