[llvm] r268392 - Silence unused variable warning; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 08:17:25 PDT 2016
Author: aaronballman
Date: Tue May 3 10:17:25 2016
New Revision: 268392
URL: http://llvm.org/viewvc/llvm-project?rev=268392&view=rev
Log:
Silence unused variable warning; NFC.
Modified:
llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp?rev=268392&r1=268391&r2=268392&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp Tue May 3 10:17:25 2016
@@ -157,7 +157,6 @@ int GCNHazardRecognizer::checkSMEMSoftCl
// (including itself). If we encounter this situaion, we need to break the
// clause by inserting a non SMEM instruction.
- const SIInstrInfo *TII = static_cast<const SIInstrInfo*>(ST.getInstrInfo());
std::set<unsigned> ClauseDefs;
std::set<unsigned> ClauseUses;
@@ -165,7 +164,7 @@ int GCNHazardRecognizer::checkSMEMSoftCl
// When we hit a non-SMEM instruction then we have passed the start of the
// clause and we can stop.
- if (!MI || !TII->isSMRD(*MI))
+ if (!MI || !SIInstrInfo::isSMRD(*MI))
break;
addRegsToSet(MI->defs(), ClauseDefs);
More information about the llvm-commits
mailing list