mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
[x86] Fix a few typos in my comments spotted in passing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb1293fd4c
commit
3c92a7aac1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user