[llvm-commits] [llvm] r148301 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Nadav Rotem
nadav.rotem at intel.com
Tue Jan 17 01:31:10 PST 2012
Author: nadav
Date: Tue Jan 17 03:31:09 2012
New Revision: 148301
URL: http://llvm.org/viewvc/llvm-project?rev=148301&view=rev
Log:
Fix warning.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=148301&r1=148300&r2=148301&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Jan 17 03:31:09 2012
@@ -6245,7 +6245,7 @@
// 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
More information about the llvm-commits
mailing list