summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:29 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:29 +0000
commit0909ca132fcd836df843aa1ed1585bb0c15c5520 (patch)
treeae17385953adb263665e8e7fbf50177b4b5a64b1 /llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
parent056d835fa4b6e9fba3e7c068ded83c3dce7975cb (diff)
downloadbcm5719-llvm-0909ca132fcd836df843aa1ed1585bb0c15c5520.tar.gz
bcm5719-llvm-0909ca132fcd836df843aa1ed1585bb0c15c5520.zip
[NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc. llvm-svn: 323508
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
index 88daea7e368..89018e2681c 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
@@ -136,7 +136,7 @@ bool WebAssemblyFixIrreducibleControlFlow::VisitLoop(MachineFunction &MF,
MachineBasicBlock *Header = Loop ? Loop->getHeader() : &*MF.begin();
SetVector<MachineBasicBlock *> RewriteSuccs;
- // DFS through Loop's body, looking for for irreducible control flow. Loop is
+ // DFS through Loop's body, looking for irreducible control flow. Loop is
// natural, and we stay in its body, and we treat any nested loops
// monolithically, so any cycles we encounter indicate irreducibility.
SmallPtrSet<MachineBasicBlock *, 8> OnStack;
OpenPOWER on IntegriCloud