diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-12 02:41:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-12 02:41:37 +0000 |
commit | d4a2700fdc5bc8ac50084fcb39155e01e86168d5 (patch) | |
tree | bd1286f5ee5e7c217f27ff19cde3b96cf305243f /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | 10dae94be2ccb187bd4e3da53771be54057acd6c (diff) |
make tblgen autogenerate the nocapture intrinsics for
llvm.memcpy/memset/memmove. This allows removal of some
hackish code from basicaa.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 9608a28edd..92cff8ea96 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -69,10 +69,6 @@ static bool AddressMightEscape(const Value *V) { if (cast<CallInst>(I)->paramHasAttr(UI.getOperandNo(), Attribute::NoCapture)) continue; - - // FIXME: MemIntrinsics should have their operands marked nocapture! - if (isa<MemIntrinsic>(I)) - continue; // next use return true; case Instruction::Invoke: // If the argument to the call has the nocapture attribute, then the call |