[llvm] r357542 - AMDGPU: Remove unnecessary subtarget get
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 17:01:06 PDT 2019
Author: arsenm
Date: Tue Apr 2 17:01:05 2019
New Revision: 357542
URL: http://llvm.org/viewvc/llvm-project?rev=357542&view=rev
Log:
AMDGPU: Remove unnecessary subtarget get
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=357542&r1=357541&r2=357542&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp Tue Apr 2 17:01:05 2019
@@ -453,7 +453,6 @@ int GCNHazardRecognizer::checkSoftClause
}
int GCNHazardRecognizer::checkSMRDHazards(MachineInstr *SMRD) {
- const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>();
int WaitStatesNeeded = 0;
WaitStatesNeeded = checkSoftClauseHazards(SMRD);
More information about the llvm-commits
mailing list