[MCA] Allow unlimited cycles in the timeline view
authorJay Foad <jay.foad@amd.com>
Thu, 24 Jun 2021 10:00:13 +0000 (11:00 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 24 Jun 2021 11:54:57 +0000 (12:54 +0100)
commitbeebe5a056b8d4d224b07c5039f8e6028a7afb4c
treef6f9d97b104f807e09642e772d02cd52402ffac3
parenta54c6fc083c45595466c2d3d73ccf80c07ef1247
[MCA] Allow unlimited cycles in the timeline view

Change --max-timeline-cycles=0 to mean no limit on the number of cycles.
Use this in AMDGPU tests to show all instructions in the timeline view
instead of having it arbitrarily truncated.

Differential Revision: https://reviews.llvm.org/D104846
llvm/docs/CommandGuide/llvm-mca.rst
llvm/test/tools/llvm-mca/AMDGPU/gfx10-add-sequence.s
llvm/test/tools/llvm-mca/AMDGPU/gfx10-double.s
llvm/test/tools/llvm-mca/AMDGPU/gfx10-trans.s
llvm/tools/llvm-mca/Views/TimelineView.cpp
llvm/tools/llvm-mca/llvm-mca.cpp