File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ auto MachineFunction::salvageCopySSA(
10661066 // Check whether this copy-like instruction has already been salvaged into
10671067 // an operand pair.
10681068 Register Dest;
1069- if (auto CopyDstSrc = TII.isCopyInstr (MI)) {
1069+ if (auto CopyDstSrc = TII.isCopyLikeInstr (MI)) {
10701070 Dest = CopyDstSrc->Destination ->getReg ();
10711071 } else {
10721072 assert (MI.isSubregToReg ());
@@ -1150,7 +1150,7 @@ auto MachineFunction::salvageCopySSAImpl(MachineInstr &MI)
11501150 CurInst = Inst.getIterator ();
11511151
11521152 // Any non-copy instruction is the defining instruction we're seeking.
1153- if (!Inst.isCopyLike () && !TII.isCopyInstr (Inst))
1153+ if (!Inst.isCopyLike () && !TII.isCopyLikeInstr (Inst))
11541154 break ;
11551155 State = GetRegAndSubreg (Inst);
11561156 };
You can’t perform that action at this time.
0 commit comments