diff --git a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h index 7d3e63df43da6..e3da8d3005629 100644 --- a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h +++ b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h @@ -442,7 +442,7 @@ class PreRARematStage : public GCNSchedStage { // Map a trivially rematerializable def to a list of regions at MinOccupancy // that has the defined reg as a live-in. - DenseMap> RematDefToLiveInRegions; + MapVector> RematDefToLiveInRegions; // Collect all trivially rematerializable VGPR instructions with a single def // and single use outside the defining block into RematerializableInsts.