diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-14 17:45:39 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-14 17:45:39 +0000 |
commit | eb9a85f09e18b3fe88499710404b38d3a9128f62 (patch) | |
tree | d4c525dba91c583de634db5d0b1e2160194db37f /lib/Transforms/Scalar/MemCpyOptimizer.cpp | |
parent | 61afc8820f2bc85f7b7158850a0250f9d8c1ebaa (diff) | |
download | external_llvm-eb9a85f09e18b3fe88499710404b38d3a9128f62.zip external_llvm-eb9a85f09e18b3fe88499710404b38d3a9128f62.tar.gz external_llvm-eb9a85f09e18b3fe88499710404b38d3a9128f62.tar.bz2 |
Change Intrinsic::getDeclaration and friends to take an ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/MemCpyOptimizer.cpp')
-rw-r--r-- | lib/Transforms/Scalar/MemCpyOptimizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/MemCpyOptimizer.cpp b/lib/Transforms/Scalar/MemCpyOptimizer.cpp index a3a3063..7ed3db6 100644 --- a/lib/Transforms/Scalar/MemCpyOptimizer.cpp +++ b/lib/Transforms/Scalar/MemCpyOptimizer.cpp @@ -844,7 +844,7 @@ bool MemCpyOpt::processMemMove(MemMoveInst *M) { M->getRawSource()->getType(), M->getLength()->getType() }; M->setCalledFunction(Intrinsic::getDeclaration(Mod, Intrinsic::memcpy, - ArgTys, 3)); + ArgTys)); // MemDep may have over conservative information about this instruction, just // conservatively flush it from the cache. |