Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolving
authorChris Lattner <sabre@nondot.org>
Thu, 2 Mar 2006 23:58:40 +0000 (23:58 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 Mar 2006 23:58:40 +0000 (23:58 +0000)
commitffa987d3eeb04b69f356799e544a9bb7b0095541
tree3783f920459abc2121c514cb667e97939ed42fe8
parent14c284600c6fc8281f55a0241326ae7028a96257
Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolving
PR709, and paving the way for future progress.

Significantly refactor autoupgrading code, to handle the more complex case
(where we upgrade one argument in a function), and fix some bugs in it.

Testcase here: llvm/test/Regression/Bytecode/memcpy.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26474 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/AutoUpgrade.cpp
lib/VMCore/Function.cpp
lib/VMCore/Verifier.cpp