[llvm-commits] llvm-gcc4: small cleanup

Jim Laskey jlaskey at apple.com
Fri Jan 26 10:39:01 PST 2007


Checked in.

On 26-Jan-07, at 02:24 PM, Duncan Sands wrote:

> 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 at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070126/c27dd7da/attachment.bin>


More information about the llvm-commits mailing list