Skip to content

Commit 27ad4b0

Browse files
committed
[SandboxVec][DAG][NFC] Fix typo
1 parent f76375d commit 27ad4b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DGNode {
3636
/// Memory predecessors.
3737
DenseSet<DGNode *> MemPreds;
3838
/// This is true if this may read/write memory, or if it has some ordering
39-
/// constraings, like with stacksave/stackrestore and alloca/inalloca.
39+
/// constraints, like with stacksave/stackrestore and alloca/inalloca.
4040
bool IsMem;
4141

4242
public:
@@ -54,7 +54,7 @@ class DGNode {
5454
/// \Returns true if there is a memory dependency N->this.
5555
bool hasMemPred(DGNode *N) const { return MemPreds.count(N); }
5656
/// \Returns true if this may read/write memory, or if it has some ordering
57-
/// constraings, like with stacksave/stackrestore and alloca/inalloca.
57+
/// constraints, like with stacksave/stackrestore and alloca/inalloca.
5858
bool isMem() const { return IsMem; }
5959
#ifndef NDEBUG
6060
void print(raw_ostream &OS, bool PrintDeps = true) const;

0 commit comments

Comments
 (0)