Skip to content

Commit 5b57103

Browse files
committed
avoid auto
1 parent 930dfa4 commit 5b57103

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,9 @@ bool GCNRewritePartialRegUsesImpl::run(MachineFunction &MF) {
493493
}
494494

495495
bool GCNRewritePartialRegUsesLegacy::runOnMachineFunction(MachineFunction &MF) {
496-
auto *LISWrapper = getAnalysisIfAvailable<LiveIntervalsWrapperPass>();
497-
auto LIS = LISWrapper ? &LISWrapper->getLIS() : nullptr;
496+
LiveIntervalsWrapperPass *LISWrapper =
497+
getAnalysisIfAvailable<LiveIntervalsWrapperPass>();
498+
LiveIntervals *LIS = LISWrapper ? &LISWrapper->getLIS() : nullptr;
498499
GCNRewritePartialRegUsesImpl Impl(LIS);
499500
return Impl.run(MF);
500501
}

0 commit comments

Comments
 (0)