diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index 4611daec46a..b25a9d92f2a 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/lib/CodeGen/StrongPHIElimination.cpp @@ -522,7 +522,7 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) { } } -/// processPHIUnion - Take a set of candidate registers to be coallesced when +/// processPHIUnion - Take a set of candidate registers to be coalesced when /// decomposing the PHI instruction. Use the DominanceForest to remove the ones /// that are known to interfere, and flag others that need to be checked for /// local interferences. diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 65de926a3e6..47d0cb8ec47 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -1693,7 +1693,7 @@ LBB1_2: # bb7 subl %ecx, %eax ret -The coallescer could coallesce "edx" with "eax" to avoid the movl in LBB1_2 +The coalescer could coalesce "edx" with "eax" to avoid the movl in LBB1_2 if it commuted the addl in LBB1_1. //===---------------------------------------------------------------------===// diff --git a/test/CodeGen/Generic/2006-08-30-CoallescerCrash.ll b/test/CodeGen/Generic/2006-08-30-CoalescerCrash.ll similarity index 100% rename from test/CodeGen/Generic/2006-08-30-CoallescerCrash.ll rename to test/CodeGen/Generic/2006-08-30-CoalescerCrash.ll