Use TargetData to obtain the correct size of the "size_t" argument for
authorReid Spencer <rspencer@reidspencer.com>
Mon, 29 Jan 2007 17:42:06 +0000 (17:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 29 Jan 2007 17:42:06 +0000 (17:42 +0000)
commit6addf2ceeb7b231e32308b7b15c77bc8992868a7
tree05959f2897a6ed910284d19a4ec38ff8a8495409
parent36abe148630ea3742a914d87bd6a54be7d8eb825
Use TargetData to obtain the correct size of the "size_t" argument for
functions like memcpy, memmove and memset. Ensure only one prototype is
used for these functions and that it matches the system definition by
using the appropriate type for the size argument.

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