forked from OSchip/llvm-project
[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:
parent
de7f3f0f91
commit
ddba3efda8
|
@ -108,7 +108,7 @@ class BackendStatistics : public View {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BackendStatistics(const Backend &backend)
|
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 onInstructionDispatched(unsigned Index) override { NumDispatched++; }
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue