diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 04:23:38 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 04:23:38 +0000 |
commit | 4ec57134d2ac6dfbb8720b3bf2630fdb2805a594 (patch) | |
tree | b9c86db9dadf9bec990a6ca87a313b2ec5518ab8 /lib | |
parent | 178f612d10f282c8422874f506c21035f7992721 (diff) |
aco: Don't std::move temporary object.
From Oschowa
7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa
reduces clang warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mesa/src/amd/compiler/aco_optimizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/amd/compiler/aco_optimizer.cpp b/lib/mesa/src/amd/compiler/aco_optimizer.cpp index 9cb7428da..dd9ba1b49 100644 --- a/lib/mesa/src/amd/compiler/aco_optimizer.cpp +++ b/lib/mesa/src/amd/compiler/aco_optimizer.cpp @@ -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) { |