summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/llvm-exegesis.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-11-08 12:09:45 +0000
committerClement Courbet <courbet@google.com>2018-11-08 12:09:45 +0000
commit0d79aaf1a7303cc0840563d7ed3a2f2cf2bab25f (patch)
tree55d51b4eb237922d3849b7a12939c1a51838ff0d /llvm/tools/llvm-exegesis/llvm-exegesis.cpp
parent266c087b9dff314433f318a9ef61ec7d1b44fbb4 (diff)
downloadbcm5719-llvm-0d79aaf1a7303cc0840563d7ed3a2f2cf2bab25f.tar.gz
bcm5719-llvm-0d79aaf1a7303cc0840563d7ed3a2f2cf2bab25f.zip
Revert "[llvm-exegesis] Add a snippet generator to generate snippets to compute ROB sizes."
This reverts accidental commit rL346394. llvm-svn: 346398
Diffstat (limited to 'llvm/tools/llvm-exegesis/llvm-exegesis.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/llvm-exegesis.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/tools/llvm-exegesis/llvm-exegesis.cpp b/llvm/tools/llvm-exegesis/llvm-exegesis.cpp
index 6d15fcfef4e..a28e68ec006 100644
--- a/llvm/tools/llvm-exegesis/llvm-exegesis.cpp
+++ b/llvm/tools/llvm-exegesis/llvm-exegesis.cpp
@@ -63,8 +63,6 @@ static cl::opt<exegesis::InstructionBenchmark::ModeE>
"latency", "Instruction Latency"),
clEnumValN(exegesis::InstructionBenchmark::Uops,
"uops", "Uop Decomposition"),
- clEnumValN(exegesis::InstructionBenchmark::ROBSize,
- "rob_size", "ROB Size"),
// When not asking for a specific benchmark mode,
// we'll analyse the results.
clEnumValN(exegesis::InstructionBenchmark::Unknown,
@@ -203,6 +201,7 @@ public:
return;
if (CommentText.consume_front("DEFREG")) {
// LLVM-EXEGESIS-DEFREF <reg> <hex_value>
+ RegisterValue RegVal;
llvm::SmallVector<llvm::StringRef, 2> Parts;
CommentText.split(Parts, ' ', /*unlimited splits*/ -1,
/*do not keep empty strings*/ false);
@@ -211,7 +210,6 @@ public:
<< "\n";
++InvalidComments;
}
- RegisterValue RegVal;
if (!(RegVal.Register = findRegisterByName(Parts[0].trim()))) {
llvm::errs() << "unknown register in 'LLVM-EXEGESIS-DEFREG "
<< CommentText << "\n";
OpenPOWER on IntegriCloud