Fix warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2012-01-17 09:31:09 +00:00
parent a7f99f28a7
commit a16d441430

View File

@ -6245,7 +6245,7 @@ bool CanXFormVExtractWithShuffleIntoLoad(SDValue V, SelectionDAG &DAG,
// then the EXTRACT_VECTOR_ELT is likely to be legalized to a sequence of
// EXTRACT_SUBVECTOR + EXTRACT_VECTOR_ELT, which are not detected at this point
// because the legalization of N did not happen yet.
if (Idx >= NumElems/2 && VT.getSizeInBits() == 256)
if (Idx >= (int)NumElems/2 && VT.getSizeInBits() == 256)
return false;
// Skip one more bit_convert if necessary