Skip to content

Commit 1321e8e

Browse files
committed
using tie, same as before in pair retrun
1 parent 9fa3315 commit 1321e8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4880,9 +4880,7 @@ InstructionSelector::ComplexRendererFns
48804880
AMDGPUInstructionSelector::selectVOP3PRetHelper(MachineOperand &Root,
48814881
bool IsDOT) const {
48824882
MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo();
4883-
auto Results = selectVOP3PModsImpl(&Root, MRI, IsDOT);
4884-
const MachineOperand *Op = Results.first;
4885-
unsigned Mods = Results.second;
4883+
std::tie(Src, Mods) = selectVOP3PModsImpl(&Root, MRI, IsDOT);
48864884
if (!(Op->isReg()))
48874885
return {{
48884886
[=](MachineInstrBuilder &MIB) { MIB.addImm(getAllKindImm(Op)); },

0 commit comments

Comments
 (0)