[llvm] r214626 - [x86] Fix a few typos in my comments spotted in passing.
Chandler Carruth
chandlerc at gmail.com
Sat Aug 2 03:29:34 PDT 2014
Author: chandlerc
Date: Sat Aug 2 05:29:34 2014
New Revision: 214626
URL: http://llvm.org/viewvc/llvm-project?rev=214626&view=rev
Log:
[x86] Fix a few typos in my comments spotted in passing.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=214626&r1=214625&r2=214626&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Aug 2 05:29:34 2014
@@ -18734,7 +18734,7 @@ static bool combineX86ShuffleChain(SDVal
return true;
}
- // Use the float domain if the operand type is a floatingc point type.
+ // Use the float domain if the operand type is a floating point type.
bool FloatDomain = VT.isFloatingPoint();
// If we don't have access to VEX encodings, the generic PSHUF instructions
@@ -18745,8 +18745,8 @@ static bool combineX86ShuffleChain(SDVal
// shuffle instructions freely as they can copy due to the extra register
// operand.
if (Subtarget->hasAVX()) {
- // We have both floatincg point and integer variants of shuffles that dup
- // either tho low or high half of the vector.
+ // We have both floating point and integer variants of shuffles that dup
+ // either the low or high half of the vector.
if (Mask.equals(0, 0) || Mask.equals(1, 1)) {
bool Lo = Mask.equals(0, 0);
unsigned Shuffle = FloatDomain ? (Lo ? X86ISD::MOVLHPS : X86ISD::MOVHLPS)
More information about the llvm-commits
mailing list