diff options
author | Clement Courbet <courbet@google.com> | 2018-06-14 06:57:52 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-06-14 06:57:52 +0000 |
commit | 49fad1cbf2bba88a5c0d596e3aa46d142f9d73ad (patch) | |
tree | 1a361c823cf7c06511e4012d73b75c9418dbbf8c /llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp | |
parent | f209649dfcfef475de740a4755a6c480db360a6f (diff) | |
download | bcm5719-llvm-49fad1cbf2bba88a5c0d596e3aa46d142f9d73ad.tar.gz bcm5719-llvm-49fad1cbf2bba88a5c0d596e3aa46d142f9d73ad.zip |
[llvm-exegesis] Use BenchmarkResult::Instructions instead of OpcodeName
Summary:
Get rid of OpcodeName.
To remove the opcode name from an old file:
```
cat old_file | sed '/opcode_name.*/d'
```
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits
Differential Revision: https://reviews.llvm.org/D48121
llvm-svn: 334691
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp index 237a5404daa..841219cb7f2 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp @@ -140,8 +140,7 @@ struct ScalarEnumerationTraits<exegesis::InstructionBenchmark::ModeE> { template <> struct MappingTraits<exegesis::InstructionBenchmarkKey> { static void mapping(IO &Io, exegesis::InstructionBenchmarkKey &Obj) { - Io.mapRequired("opcode_name", Obj.OpcodeName); - Io.mapOptional("instructions", Obj.Instructions); + Io.mapRequired("instructions", Obj.Instructions); Io.mapOptional("config", Obj.Config); } }; |