summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-08-02 10:29:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-08-02 10:29:34 +0000
commit5219d4eff68d4e59b95f64b5a817da68d0f6a6ed (patch)
treeead1b37d8db7d4c8b4d888c7bc0dd4a4a2d83b12
parent34f9a987e924bb83367a9fe438d3b11c68bd8c8f (diff)
downloadbcm5719-llvm-5219d4eff68d4e59b95f64b5a817da68d0f6a6ed.tar.gz
bcm5719-llvm-5219d4eff68d4e59b95f64b5a817da68d0f6a6ed.zip
[x86] Fix a few typos in my comments spotted in passing.
llvm-svn: 214626
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 26e0e2ea26b..1b65e741533 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -18734,7 +18734,7 @@ static bool combineX86ShuffleChain(SDValue Op, SDValue Root, ArrayRef<int> Mask,
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(SDValue Op, SDValue Root, ArrayRef<int> Mask,
// 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)
OpenPOWER on IntegriCloud