[PATCH] D130869: [AMDGPU] Add GCNMaxILPSchedStrategy
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 11:12:44 PDT 2022
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/GCNSchedStrategy.h:32
+ PreRARematerialize = 3,
+ ILPInitialSchedule = 4,
+ LastStage = ILPInitialSchedule
----------------
AFAIR PreRARematerialize shall be a last stage, it was leaving some variables in an inconsistent state. Before the last refactoring there was even static_assert about that.
I see that you are building stages pipeline within SchedStages, but probably it makes sense to reorder the enum and redefine operator++ to walk SchedStages instead of static casting integers now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130869/new/
https://reviews.llvm.org/D130869
More information about the llvm-commits
mailing list