Two fixes:
authorChris Lattner <sabre@nondot.org>
Tue, 6 Feb 2007 19:06:38 +0000 (19:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 6 Feb 2007 19:06:38 +0000 (19:06 +0000)
commitc67da0cf13e2d671061449e8da4ffe102e5fc848
tree6e151f0724d5135e51f2a4769e5ee6f8ed5f62c0
parent9b4422629afa486dc3bdb7413a0d43e9007f67c1
Two fixes:
1. Memset takes an i32 for the value to set, not i8.  This was causing GCC to
   ICE all over the place (PR1183).
2. memcpy/memmove were not properly zext/trunc'ing the size in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33970 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp