Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11925>
std::map<Temp, uint32_t> next_uses;
for (std::pair<const Temp, std::pair<uint32_t, uint32_t>>& pair :
ctx.next_use_distances_end[block->index])
- next_uses[pair.first] = pair.second.second + block->instructions.size();
+ next_uses.insert({pair.first, pair.second.second + block->instructions.size()});
for (int idx = block->instructions.size() - 1; idx >= 0; idx--) {
aco_ptr<Instruction>& instr = block->instructions[idx];