summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
commitf2fbf437047071a269da32512a2a395994b7c1f2 (patch)
treed675f216ecd3323f6f6ac74db849ce5b9d973591 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parentdae11f7aabfd025547bd313e03f143a8092b8304 (diff)
downloadbcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.tar.gz
bcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.zip
Fix comment typos. NFC.
Identified by Pedro Giffuni in PR27636. llvm-svn: 287490
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index be1e5268927..36d53189604 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -5626,7 +5626,7 @@ bool CodeGenPrepare::splitBranchCondition(Function &F) {
// incoming edge to the PHI nodes, because both branch instructions target
// now the same successor. Depending on the original branch condition
// (and/or) we have to swap the successors (TrueDest, FalseDest), so that
- // we perfrom the correct update for the PHI nodes.
+ // we perform the correct update for the PHI nodes.
// This doesn't change the successor order of the just created branch
// instruction (or any other instruction).
if (Opc == Instruction::Or)
OpenPOWER on IntegriCloud