unlike the malloc instruction, "malloc" calls do not claim to be readonly, just nounwind.

llvm-svn: 82927
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index 14c94da..58cc909 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
@@ -153,7 +153,7 @@
         // Writes memory.  Just give up.
         return false;
 
-      if (isa<MallocInst>(I) || isMalloc(I))
+      if (isa<MallocInst>(I))
         // malloc claims not to write memory!  PR3754.
         return false;