projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87709b7
)
[MCA] Modernize StallInfo (NFC)
author
Kazu Hirata
<kazu@google.com>
Sat, 3 Jun 2023 17:38:55 +0000
(10:38 -0700)
committer
Kazu Hirata
<kazu@google.com>
Sat, 3 Jun 2023 17:38:55 +0000
(10:38 -0700)
llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
b/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
index
40bc3b5
..
f9286ac
100644
(file)
--- a/
llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
+++ b/
llvm/include/llvm/MCA/Stages/InOrderIssueStage.h
@@
-35,10
+35,10
@@
struct StallInfo {
};
InstRef IR;
- unsigned CyclesLeft;
- StallKind Kind;
+ unsigned CyclesLeft
= 0
;
+ StallKind Kind
= StallKind::DEFAULT
;
- StallInfo()
: CyclesLeft(), Kind(StallKind::DEFAULT) {}
+ StallInfo()
= default;
StallKind getStallKind() const { return Kind; }
unsigned getCyclesLeft() const { return CyclesLeft; }