operator new & operator new[] do not kill any legal memory locations.
authorChris Lattner <sabre@nondot.org>
Sun, 11 Apr 2004 18:16:34 +0000 (18:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 11 Apr 2004 18:16:34 +0000 (18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12833 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BasicAliasAnalysis.cpp

index 8fc561ea1d9cc09b7afc4e8a9cd9a8e871d50070..d5cd5df7b871ecde1822e147a661d42e37c9455e 100644 (file)
@@ -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 =