diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-25 10:45:38 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-25 10:45:38 +0000 |
commit | 2a9c7280886f3a0a60833bd41888a5bd07880d8b (patch) | |
tree | 02adee18d9055ee4ebca9a40467c48331cc53601 | |
parent | 7e7f9c1008b50f44982121d388ae2e1db277ff79 (diff) | |
download | bcm5719-llvm-2a9c7280886f3a0a60833bd41888a5bd07880d8b.tar.gz bcm5719-llvm-2a9c7280886f3a0a60833bd41888a5bd07880d8b.zip |
Fix MSVC llvm-exegesis build. NFCI.
MSVC is a bit funny about is_pod.....
llvm-svn: 345252
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/Target.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Target.h b/llvm/tools/llvm-exegesis/lib/Target.h index a6ec36bebb3..b0f0e996173 100644 --- a/llvm/tools/llvm-exegesis/lib/Target.h +++ b/llvm/tools/llvm-exegesis/lib/Target.h @@ -34,29 +34,29 @@ namespace exegesis { struct PfmCountersInfo { // An optional name of a performance counter that can be used to measure // cycles. - const char *const CycleCounter; + const char *CycleCounter; // An optional name of a performance counter that can be used to measure // uops. - const char *const UopsCounter; + const char *UopsCounter; // An IssueCounter specifies how to measure uops issued to specific proc // resources. struct IssueCounter { - const char *const Counter; + const char *Counter; // The name of the ProcResource that this counter measures. - const char *const ProcResName; + const char *ProcResName; }; // An optional list of IssueCounters. - const IssueCounter *const IssueCounters; - const unsigned NumIssueCounters; + const IssueCounter *IssueCounters; + unsigned NumIssueCounters; static const PfmCountersInfo Default; }; struct CpuAndPfmCounters { - const char *const CpuName; - const PfmCountersInfo *const PCI; + const char *CpuName; + const PfmCountersInfo *PCI; bool operator<(llvm::StringRef S) const { return llvm::StringRef(CpuName) < S; } |