[NFC][llvm-exegesis] LLVMState: only store references to reg/op names
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 17 Dec 2022 13:48:07 +0000 (16:48 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 17 Dec 2022 14:10:48 +0000 (17:10 +0300)
commit5b1592b5c50e71d54382a400264f3539a4aad9a1
tree550da4903763b8663daf5304098fa245316fda43
parent2ee17d691f4f34769b64fffc6fe704ae13667256
[NFC][llvm-exegesis] LLVMState: only store references to reg/op names

We know that the original reference from which we've built these maps
will persist, so we do not need to copy the names.
llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
llvm/tools/llvm-exegesis/lib/LlvmState.cpp
llvm/tools/llvm-exegesis/lib/LlvmState.h