Skip to content

Commit a9678cb

Browse files
committed
using std::tie
1 parent 1321e8e commit a9678cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

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

0 commit comments

Comments
 (0)