diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-28 22:03:52 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-28 22:03:52 +0000 |
commit | 80bd3c9e5fb2b5080435a7288267ab18d21a57ac (patch) | |
tree | 55debb4b95171266ff6d98ed4c8013d70ee858cf | |
parent | b55bd1e2ac0601097d7d542f68f6cdb6688e1ec8 (diff) | |
download | bcm5719-llvm-80bd3c9e5fb2b5080435a7288267ab18d21a57ac.tar.gz bcm5719-llvm-80bd3c9e5fb2b5080435a7288267ab18d21a57ac.zip |
Spelling fixes. NFC.
llvm-svn: 227376
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 309080c6982..3247299f00a 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -7937,11 +7937,11 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend( if (Mask[i] == -1) continue; // Valid anywhere but doesn't tell us anything. if (i % Scale != 0) { - // Each of the extend elements needs to be zeroable. + // Each of the extended elements need to be zeroable. if (!Zeroable[i]) return SDValue(); - // We no lorger are in the anyext case. + // We no longer are in the anyext case. AnyExt = false; continue; } @@ -7955,7 +7955,7 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend( return SDValue(); // Flip-flopping inputs. if (Mask[i] % NumElements != i / Scale) - return SDValue(); // Non-consecutive strided elemenst. + return SDValue(); // Non-consecutive strided elements. } // If we fail to find an input, we have a zero-shuffle which should always @@ -7977,7 +7977,7 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend( // many elements. for (; NumExtElements < NumElements; NumExtElements *= 2) { assert(NumElements % NumExtElements == 0 && - "The input vector size must be divisble by the extended size."); + "The input vector size must be divisible by the extended size."); if (SDValue V = Lower(NumElements / NumExtElements)) return V; } |