diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-23 05:56:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-23 05:56:17 +0000 |
commit | 2155088e8ce0e8eac8a09994b9e392d01f2c3072 (patch) | |
tree | bbebc9ec3092267f408cb20c5df2d1384928a964 /lib | |
parent | ef4cfc749a61d0d0252196c957697436ba7ec068 (diff) | |
download | external_llvm-2155088e8ce0e8eac8a09994b9e392d01f2c3072.zip external_llvm-2155088e8ce0e8eac8a09994b9e392d01f2c3072.tar.gz external_llvm-2155088e8ce0e8eac8a09994b9e392d01f2c3072.tar.bz2 |
fix some typos that Duncan noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 2b18640..1a4396b 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -10219,7 +10219,7 @@ Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { } // If all of the base pointers of the PHI'd GEPs are from allocas, don't - // bother doing this transformation. At best, this will just safe a bit of + // bother doing this transformation. At best, this will just save a bit of // offset calculation, but all the predecessors will have to materialize the // stack address into a register anyway. We'd actually rather *clone* the // load up into the predecessors so that we have a load of a gep of an alloca, @@ -10265,8 +10265,8 @@ Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { } -/// isSafeAndProfitableToSinkLoad - Return true if we know that it is safe sink -/// the load out of the block that defines it. This means that it must be +/// isSafeAndProfitableToSinkLoad - Return true if we know that it is safe to +/// sink the load out of the block that defines it. This means that it must be /// obvious the value of the load is not changed from the point of the load to /// the end of the block it is in. /// |