From a75815ebb030bc50791dcaa34a9a4c6f0628a146 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 19 Sep 2008 08:01:57 +0000 Subject: [PATCH] Test the callgraph directly for the missing edge. llvm-svn: 56338 --- llvm/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll b/llvm/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll index 02f88cae9287..828be7ac34dc 100644 --- a/llvm/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll +++ b/llvm/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll @@ -1,4 +1,5 @@ -; RUN: llvm-as < %s | opt -prune-eh -inline -globalsmodref-aa -markmodref | llvm-dis | not grep {define.*read} +; RUN: llvm-as < %s | opt -prune-eh -inline -callgraph -disable-output |& \ +; RUN: grep {Calls.*ce3806g__fxio__put__put_int64__4.1339} | count 2 %struct.FRAME.ce3806g = type { %struct.string___XUB, %struct.string___XUB, %struct.string___XUB, %struct.string___XUB } %struct.FRAME.ce3806g__fxio__put__4 = type { i32, i32, i32, %struct.system__file_control_block__pstring*, i32, i32, i8 } %struct.RETURN = type { i8, i32 }