File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ auto MachineFunction::salvageCopySSA(
1066
1066
// Check whether this copy-like instruction has already been salvaged into
1067
1067
// an operand pair.
1068
1068
Register Dest;
1069
- if (auto CopyDstSrc = TII.isCopyInstr (MI)) {
1069
+ if (auto CopyDstSrc = TII.isCopyLikeInstr (MI)) {
1070
1070
Dest = CopyDstSrc->Destination ->getReg ();
1071
1071
} else {
1072
1072
assert (MI.isSubregToReg ());
@@ -1150,7 +1150,7 @@ auto MachineFunction::salvageCopySSAImpl(MachineInstr &MI)
1150
1150
CurInst = Inst.getIterator ();
1151
1151
1152
1152
// 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))
1154
1154
break ;
1155
1155
State = GetRegAndSubreg (Inst);
1156
1156
};
You can’t perform that action at this time.
0 commit comments