Skip to content

Commit 3ffb088

Browse files
committed
Remove unused variable (fix -Werror build on MSVC)
1 parent 0376c0f commit 3ffb088

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUMFMAClustering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ static void clusterNeighboringMFMAs(llvm::ArrayRef<SUnit *> MFMASUnits,
145145
void MFMAClusterDAGMutation::apply(ScheduleDAGInstrs *DAGInstrs) {
146146
const GCNSubtarget &ST = DAGInstrs->MF.getSubtarget<GCNSubtarget>();
147147
TII = ST.getInstrInfo();
148-
const SIMachineFunctionInfo *MFI =
149-
DAGInstrs->MF.getInfo<SIMachineFunctionInfo>();
150148
if (!ST.hasMAIInsts())
151149
return;
152150
DAG = static_cast<ScheduleDAGMI *>(DAGInstrs);

0 commit comments

Comments
 (0)