aco: Don't std::move temporary object.
From Oschowa 7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa reduces clang warnings
This commit is contained in:
parent
bec5c196e7
commit
3d26db0194
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user