We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4147316 commit 4fb31e4Copy full SHA for 4fb31e4
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -5879,7 +5879,7 @@ unsigned SIInstrInfo::buildExtractSubReg(
5879
return RI.getSubReg(SuperReg.getReg(), SubIdx);
5880
5881
MachineBasicBlock *MBB = MI->getParent();
5882
- DebugLoc DL = MI->getDebugLoc();
+ const DebugLoc &DL = MI->getDebugLoc();
5883
Register SubReg = MRI.createVirtualRegister(SubRC);
5884
5885
unsigned NewSubIdx = RI.composeSubRegIndices(SuperReg.getSubReg(), SubIdx);
0 commit comments