diff --git a/src/amd/compiler/aco_spill.cpp b/src/amd/compiler/aco_spill.cpp index faba524b76d..f1199cc3ae2 100644 --- a/src/amd/compiler/aco_spill.cpp +++ b/src/amd/compiler/aco_spill.cpp @@ -56,7 +56,7 @@ struct spill_ctx { std::stack loop_header; std::vector>> next_use_distances_start; std::vector>> next_use_distances_end; - std::vector>> interferences; + std::vector>> interferences; std::vector> affinities; std::vector is_reloaded; std::map remat; @@ -100,7 +100,7 @@ struct spill_ctx { uint32_t allocate_spill_id(RegClass rc) { - interferences.emplace_back(rc, std::set()); + interferences.emplace_back(rc, std::unordered_set()); is_reloaded.push_back(false); return next_spill_id++; }