Skip to content

Commit

Permalink
[AMDGPU] Fix a warning
Browse files Browse the repository at this point in the history
This patch fixes:

  llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp:255:18: error: private
  field 'DAG' is not used [-Werror,-Wunused-private-field]
  • Loading branch information
kazutakahirata authored and shenhanc78 committed Jan 13, 2025
1 parent faf54b4 commit 91c0b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ using SUsToCandSGsVec = SmallVector<SUToCandSGsPair, 4>;
// only be used for small sized problems or medium sized problems where an exact
// solution is highly desired.
class PipelineSolver {
ScheduleDAGMI *DAG;
[[maybe_unused]] ScheduleDAGMI *DAG;

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

0 comments on commit 91c0b12

Please sign in to comment.