Index: gcc.llvm.master/gcc/llvm-convert.cpp
===================================================================
--- gcc.llvm.master.orig/gcc/llvm-convert.cpp   2007-01-26 19:11:47.000000000 
+0100
+++ gcc.llvm.master/gcc/llvm-convert.cpp        2007-01-26 19:14:23.000000000 
+0100
@@ -4075,8 +4075,6 @@
   //tree ElementSizeInBytes = array_ref_element_size(exp);
   
   if (IndexVal->getType() != Type::Int32Ty &&
-      IndexVal->getType() != Type::Int32Ty && 
-      IndexVal->getType() != Type::Int64Ty && 
       IndexVal->getType() != Type::Int64Ty)
     if (TYPE_UNSIGNED(TREE_TYPE(Index))) // if the index is unsigned
       // ZExt it to retain its value in the larger type
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to