git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-03-31 00:33:57 +00:00
parent ef698ca30d
commit fb47a9b1c8

View File

@ -1612,7 +1612,7 @@ bool X86::isUNPCKLMask(SDNode *N) {
if (BitI1.getOpcode() != ISD::UNDEF) {
assert(isa<ConstantSDNode>(BitI1) && "Invalid VECTOR_SHUFFLE mask!");
if (cast<ConstantSDNode>(BitI)->getValue() != j + NumElems)
if (cast<ConstantSDNode>(BitI1)->getValue() != j + NumElems)
return false;
}
}
@ -1641,7 +1641,7 @@ bool X86::isUNPCKHMask(SDNode *N) {
if (BitI1.getOpcode() != ISD::UNDEF) {
assert(isa<ConstantSDNode>(BitI1) && "Invalid VECTOR_SHUFFLE mask!");
if (cast<ConstantSDNode>(BitI)->getValue() != j + NumElems/2 + NumElems)
if (cast<ConstantSDNode>(BitI1)->getValue() != j + NumElems/2 + NumElems)
return false;
}
}