diff options
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/IPO/RaiseAllocations.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp b/llvm/lib/Transforms/IPO/RaiseAllocations.cpp index 4d5650f90aa..8a35bc39e6b 100644 --- a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp +++ b/llvm/lib/Transforms/IPO/RaiseAllocations.cpp @@ -186,7 +186,7 @@ bool RaiseAllocations::runOnModule(Module &M) { // If no prototype was provided for free, we may need to cast the // source pointer. This should be really uncommon, but it's necessary - // just in case we are dealing with wierd code like this: + // just in case we are dealing with weird code like this: // free((long)ptr); // Value *Source = *CS.arg_begin(); diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 870a90143b0..4954c7262a3 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -196,7 +196,7 @@ static bool DominatesMergePoint(Value *V, BasicBlock *BB, if (!I) return true; // Non-instructions all dominate instructions. BasicBlock *PBB = I->getParent(); - // We don't want to allow wierd loops that might have the "if condition" in + // We don't want to allow weird loops that might have the "if condition" in // the bottom of this block. if (PBB == BB) return false; |