diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-12 18:11:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-12 18:11:20 +0000 |
commit | 2751e76a709738590242adce47a3b55bc77fd36d (patch) | |
tree | e575b5b0e3108e16ea50316249639c21425b236f /lib/VMCore/Function.cpp | |
parent | 0eb51b440c4ea7eba82964047221e17758de2057 (diff) |
Add support for the llvm.memmove intrinsic
Patch graciously contributed by Reid Spencer!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index a4bc4eab2a..8875661ff0 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -219,6 +219,7 @@ unsigned Function::getIntrinsicID() const { break; case 'm': if (getName() == "llvm.memcpy") return Intrinsic::memcpy; + if (getName() == "llvm.memmove") return Intrinsic::memmove; break; case 's': if (getName() == "llvm.setjmp") return Intrinsic::setjmp; |