Skip to content

Commit bc73a9c

Browse files
committed
const ref
1 parent 050e266 commit bc73a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ bool SIGfx90ACacheControl::insertRelease(MachineBasicBlock::iterator &MI,
14331433
bool Changed = false;
14341434

14351435
MachineBasicBlock &MBB = *MI->getParent();
1436-
DebugLoc DL = MI->getDebugLoc();
1436+
const DebugLoc &DL = MI->getDebugLoc();
14371437

14381438
if (Pos == Position::AFTER)
14391439
++MI;

0 commit comments

Comments
 (0)