1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

[X86] Fix 80 column violations.

llvm-svn: 327648
This commit is contained in:
Craig Topper 2018-03-15 17:38:55 +00:00
parent be0d84241b
commit 75d902b003

View File

@ -30482,10 +30482,12 @@ static bool isAddSubOrSubAdd(SDNode *N, const X86Subtarget &Subtarget,
// We require the first shuffle operand to be the ExpectedOpcode node,
// and the second to be the NextExpectedOpcode node.
if (V1.getOpcode() == NextExpectedOpcode && V2.getOpcode() == ExpectedOpcode) {
if (V1.getOpcode() == NextExpectedOpcode &&
V2.getOpcode() == ExpectedOpcode) {
ShuffleVectorSDNode::commuteMask(Mask);
std::swap(V1, V2);
} else if (V1.getOpcode() != ExpectedOpcode || V2.getOpcode() != NextExpectedOpcode)
} else if (V1.getOpcode() != ExpectedOpcode ||
V2.getOpcode() != NextExpectedOpcode)
return false;
// If there are other uses of these operations we can't fold them.