diff options
author | Gabe Black <gabeblack@google.com> | 2019-11-27 04:10:29 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-11-28 07:14:36 +0000 |
commit | 6ff7e6db89844f2f5febc9e6647945d7a4b9dee4 (patch) | |
tree | fc1a4d5aa810fc8c16cd34d16c6e7152632a1489 /src/mem | |
parent | ddcc0ab2b4eb301d4e31800736590e4315b1b6b1 (diff) | |
download | gem5-6ff7e6db89844f2f5febc9e6647945d7a4b9dee4.tar.xz |
mem-cache: Remove a std::move clang says is unnecessary.
It also says it prevents an optimization.
Change-Id: I9c21dc1a0c53cf70cefd1400564de07d1e845a75
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23124
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/compressors/cpack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/compressors/cpack.cc b/src/mem/cache/compressors/cpack.cc index 5603b0bf6..5d27505c3 100644 --- a/src/mem/cache/compressors/cpack.cc +++ b/src/mem/cache/compressors/cpack.cc @@ -63,7 +63,7 @@ CPack::compress(const uint64_t* data, Cycles& comp_lat, Cycles& decomp_lat) decomp_lat = Cycles(blkSize/8); // Return compressed line - return std::move(comp_data); + return comp_data; } CPack* |