diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-27 06:18:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-27 06:18:25 +0000 |
commit | da895d63377b421dc50117befb2bec80d2973526 (patch) | |
tree | 4544a49d23c4692c9e14236a5ffa6297b5001c64 /lib/Transforms | |
parent | f8db8a04328f11fada2cf81f4b8b2431b3fb1548 (diff) |
Fix spelling, patch contributed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/IPO/RaiseAllocations.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/RaiseAllocations.cpp b/lib/Transforms/IPO/RaiseAllocations.cpp index 4d5650f90aa..8a35bc39e6b 100644 --- a/lib/Transforms/IPO/RaiseAllocations.cpp +++ b/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/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 870a90143b0..4954c7262a3 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/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; |