[llvm-mca] Fix use-of-uninitialized-value error reported by the MemorySanitizer.

This should make the buildbots green again.

llvm-svn: 327223
This commit is contained in:
Andrea Di Biagio 2018-03-10 20:52:59 +00:00
parent de7f3f0f91
commit ddba3efda8
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class BackendStatistics : public View {
public:
BackendStatistics(const Backend &backend)
: B(backend), NumDispatched(0), NumIssued(0), NumRetired(0) {}
: B(backend), NumDispatched(0), NumIssued(0), NumRetired(0), NumCycles(0) {}
void onInstructionDispatched(unsigned Index) override { NumDispatched++; }
void