[llvm-commits] [llvm] r95027 - /llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp

Chris Lattner clattner at apple.com
Mon Feb 1 15:47:26 PST 2010


On Feb 1, 2010, at 3:25 PM, Eric Christopher wrote:

> Author: echristo
> Date: Mon Feb  1 17:25:03 2010
> New Revision: 95027
>
> URL: http://llvm.org/viewvc/llvm-project?rev=95027&view=rev
> Log:
> Formatting.

Please stay in 80 cols.

-Chris

>
> Modified:
>    llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp
>
> Modified: llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp?rev=95027&r1=95026&r2=95027&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp Mon Feb  1  
> 17:25:03 2010
> @@ -232,10 +232,10 @@
>   AWI = AttributeWithIndex::get(~0u, Attribute::ReadOnly |  
> Attribute::NoUnwind);
>
>   Value *MemChr = M->getOrInsertFunction("memchr",  
> AttrListPtr::get(&AWI, 1),
> -					 Type::getInt8PtrTy(*Context),
> -					 Type::getInt8PtrTy(*Context),
> +					                               Type::getInt8PtrTy(*Context),
> +					                               Type::getInt8PtrTy(*Context),
>                                          Type::getInt32Ty(*Context),
> -					 TD->getIntPtrType(*Context),
> +					                               TD->getIntPtrType(*Context),
>                                          NULL);
>   CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len,  
> "memchr");
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list