Skip to content

Commit b985145

Browse files
committed
review
1 parent ca70746 commit b985145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Utils/PredicateInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ enum LocalNum {
8080
LN_Last
8181
};
8282

83-
// Associate global and local DFS info with defs and uses, so we can sort them
84-
// into a global domination ordering.
83+
// Associate global and local DFS info with defs (PInfo set) and uses (U set),
84+
// so we can sort them into a global domination ordering.
8585
struct ValueDFS {
8686
int DFSIn = 0;
8787
int DFSOut = 0;
@@ -234,7 +234,7 @@ class PredicateInfoBuilder {
234234
StackEntry(const ValueDFS *V) : V(V) {}
235235
};
236236

237-
typedef SmallVectorImpl<StackEntry> ValueDFSStack;
237+
using ValueDFSStack = SmallVectorImpl<StackEntry>;
238238
void convertUsesToDFSOrdered(Value *, SmallVectorImpl<ValueDFS> &);
239239
Value *materializeStack(unsigned int &, ValueDFSStack &, Value *);
240240
bool stackIsInScope(const ValueDFSStack &, const ValueDFS &) const;

0 commit comments

Comments
 (0)