[llvm] [AMDGPU]: Fall back to default mutations when iglp is not applied (PR #93418)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 01:28:38 PDT 2024


================
@@ -2337,6 +2337,8 @@ class IGroupLPDAGMutation : public ScheduleDAGMutation {
 
   ScheduleDAGMI *DAG;
 
+  std::vector<std::unique_ptr<ScheduleDAGMutation>> *SavedMutations;
----------------
arsenm wrote:

It's not obvious to me why this is a pointer to a vector. Can this just be an ArrayRef? Why does the mutation have to manage the other mutations? I thought all the mutations were added sequentially already, where this would just be one in the set 

https://github.com/llvm/llvm-project/pull/93418


More information about the llvm-commits mailing list