aco: Don't std::move temporary object.

From Oschowa
7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa

reduces clang warnings
This commit is contained in:
jsg 2020-08-27 04:23:37 +00:00
parent bec5c196e7
commit 3d26db0194

View File

@ -2862,7 +2862,7 @@ void optimize(Program* program)
label_instruction(ctx, block, instr);
}
ctx.uses = std::move(dead_code_analysis(program));
ctx.uses = dead_code_analysis(program);
/* 2. Combine v_mad, omod, clamp and propagate sgpr on VALU instructions */
for (Block& block : program->blocks) {