Skip to content

Commit 6d5c8dd

Browse files
committed
using tie, same as before in pair retrun
1 parent c5aa773 commit 6d5c8dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4885,9 +4885,9 @@ InstructionSelector::ComplexRendererFns
48854885
AMDGPUInstructionSelector::selectVOP3PRetHelper(MachineOperand &Root,
48864886
bool IsDOT) const {
48874887
MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo();
4888-
auto Results = selectVOP3PModsImpl(&Root, MRI, IsDOT);
4889-
const MachineOperand *Op = Results.first;
4890-
unsigned Mods = Results.second;
4888+
const MachineOperand *Op;
4889+
unsigned Mods;
4890+
std::tie(Op, Mods) = selectVOP3PModsImpl(&Root, MRI, IsDOT);
48914891
if (!(Op->isReg()))
48924892
return {{
48934893
[=](MachineInstrBuilder &MIB) { MIB.addImm(getAllKindImm(Op)); },

0 commit comments

Comments
 (0)