summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-06-25 22:55:50 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-06-25 22:55:50 +0000
commit75eaa72de9a8a469729583b64446896c5897adae (patch)
treef88e64411daeab35e466fc41ffcf2c313b2032e3 /llvm/test/Transforms/SimplifyLibCalls
parent8137cecb6811b81f2f3d02a5a2fc255f0d728740 (diff)
downloadbcm5719-llvm-75eaa72de9a8a469729583b64446896c5897adae.tar.gz
bcm5719-llvm-75eaa72de9a8a469729583b64446896c5897adae.zip
do not set realloc() as NotAlias, since it can return the same pointer. This whole thing should be upgraded to use the MemoryBuiltin interface anyway..
llvm-svn: 159173
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls')
-rw-r--r--llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll b/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll
index 73eb05b05e3..d557484f2a8 100644
--- a/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll
+++ b/llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -simplify-libcalls -S > %t
-; RUN: grep noalias %t | count 2
+; RUN: grep noalias %t | count 1
; RUN: grep nocapture %t | count 3
; RUN: grep nounwind %t | count 3
; RUN: grep readonly %t | count 1
OpenPOWER on IntegriCloud