Skip to content

Commit bfe93ae

Browse files
[AMDGPU] Fix a warning
This patch fixes: llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp:255:18: error: private field 'DAG' is not used [-Werror,-Wunused-private-field]
1 parent 7f59b4e commit bfe93ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ using SUsToCandSGsVec = SmallVector<SUToCandSGsPair, 4>;
252252
// only be used for small sized problems or medium sized problems where an exact
253253
// solution is highly desired.
254254
class PipelineSolver {
255-
ScheduleDAGMI *DAG;
255+
[[maybe_unused]] ScheduleDAGMI *DAG;
256256

257257
// Instructions that can be assigned to multiple SchedGroups
258258
DenseMap<int, SUnitsToCandidateSGsMap> SyncedInstrs;

0 commit comments

Comments
 (0)