From: Chris Lattner Date: Sun, 11 Apr 2004 18:16:34 +0000 (+0000) Subject: operator new & operator new[] do not kill any legal memory locations. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bec63d606f31679cb41777315325b96a65dfe3f4;p=oota-llvm.git operator new & operator new[] do not kill any legal memory locations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12833 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 8fc561ea1d9..d5cd5df7b87 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -646,6 +646,9 @@ static const char *DoesntAccessMemoryTable[] = { // glibc functions: "__fpclassify", "__fpclassifyf", "__fpclassifyl", "__signbit", "__signbitf", "__signbitl", + + // C++ operator new/operator new[] + "_Znwj", "_Znaj", }; static const unsigned DAMTableSize =