summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/llvm-mca.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-05 11:36:50 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-05 11:36:50 +0000
commit020ba253d8a80946fa47f4764e40542b1eeef9ed (patch)
tree87dcdd25c17039d532d41591cc8800f0b7d29dac /llvm/tools/llvm-mca/llvm-mca.cpp
parente8f3ae9da07c47d5ee4d351a8085385e3df9390d (diff)
downloadbcm5719-llvm-020ba253d8a80946fa47f4764e40542b1eeef9ed.tar.gz
bcm5719-llvm-020ba253d8a80946fa47f4764e40542b1eeef9ed.zip
[llvm-mca] Remove flag -max-retire-per-cycle, and update the docs.
This is done in preparation for D45259. With D45259, models can specify the size of the reorder buffer, and the retire throughput directly via tablegen. llvm-svn: 329274
Diffstat (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp')
-rw-r--r--llvm/tools/llvm-mca/llvm-mca.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp
index 7ad31df3ce8..efd0d1957fd 100644
--- a/llvm/tools/llvm-mca/llvm-mca.cpp
+++ b/llvm/tools/llvm-mca/llvm-mca.cpp
@@ -81,11 +81,6 @@ static cl::opt<unsigned> DispatchWidth(
cl::desc("Dispatch Width. By default it is set equal to IssueWidth"),
cl::init(0));
-static cl::opt<unsigned> MaxRetirePerCycle(
- "max-retire-per-cycle",
- cl::desc("Maximum number of instructions that can be retired in one cycle"),
- cl::init(0));
-
static cl::opt<unsigned>
RegisterFileSize("register-file-size",
cl::desc("Maximum number of temporary registers which can "
@@ -361,8 +356,8 @@ int main(int argc, char **argv) {
}
std::unique_ptr<mca::Backend> B = llvm::make_unique<mca::Backend>(
- *STI, *MRI, *IB, *S, Width, RegisterFileSize, MaxRetirePerCycle,
- LoadQueueSize, StoreQueueSize, AssumeNoAlias);
+ *STI, *MRI, *IB, *S, Width, RegisterFileSize, LoadQueueSize,
+ StoreQueueSize, AssumeNoAlias);
std::unique_ptr<mca::BackendPrinter> Printer =
llvm::make_unique<mca::BackendPrinter>(*B);
OpenPOWER on IntegriCloud