LLVM 2.8 changed llvm.mem{cpy,move,set}.* to take 5 arguments.

Use AutoUpgrade to upgrade these calls.
Intrinsic::getDeclaration can't be used because in 2.7 it needs 1 type,
in 2.8 it needs 2/3, and there is no function to query how many it needs.
This commit is contained in:
Török Edvin 2010-08-04 15:26:50 +03:00
parent e3a5450335
commit 744c40d142