We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e255f commit d209c13Copy full SHA for d209c13
llvm/lib/CodeGen/MachineCopyPropagation.cpp
@@ -975,7 +975,8 @@ void MachineCopyPropagation::ForwardCopyPropagateBlock(MachineBasicBlock &MBB) {
975
// register move (i.e. one where source and destination registers are the
976
// same). If so, delete it.
977
CopyOperands = isCopyInstr(MI, *TII, UseCopyInstr);
978
- if (CopyOperands && CopyOperands->Source->getReg() == CopyOperands->Destination->getReg()) {
+ if (CopyOperands &&
979
+ CopyOperands->Source->getReg() == CopyOperands->Destination->getReg()) {
980
MI.eraseFromParent();
981
NumDeletes++;
982
Changed = true;
0 commit comments