We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b39c5 commit eb15c80Copy full SHA for eb15c80
llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
@@ -70,7 +70,7 @@ class CVPLatticeVal {
70
}
71
};
72
73
- CVPLatticeVal() : LatticeState(Undefined) {}
+ CVPLatticeVal() = default;
74
CVPLatticeVal(CVPLatticeStateTy LatticeState) : LatticeState(LatticeState) {}
75
CVPLatticeVal(std::vector<Function *> &&Functions)
76
: LatticeState(FunctionSet), Functions(std::move(Functions)) {
@@ -96,7 +96,7 @@ class CVPLatticeVal {
96
97
private:
98
/// Holds the state this lattice value is in.
99
- CVPLatticeStateTy LatticeState;
+ CVPLatticeStateTy LatticeState = Undefined;
100
101
/// Holds functions indicating the possible targets of call sites. This set
102
/// is empty for lattice values in the undefined, overdefined, and untracked
0 commit comments