From 617fddf51c2aa6822281f0b52e700ffb1f15ed8d Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 6 Oct 2008 20:36:36 +0000 Subject: Remove interfaces implemented by dead pass from the list of available passes. Patch By Matthijs Kooijman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57202 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/2008-10-06-RemoveDeadPass.ll | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/Other/2008-10-06-RemoveDeadPass.ll (limited to 'test/Other/2008-10-06-RemoveDeadPass.ll') diff --git a/test/Other/2008-10-06-RemoveDeadPass.ll b/test/Other/2008-10-06-RemoveDeadPass.ll new file mode 100644 index 0000000000..a82d1b6f4b --- /dev/null +++ b/test/Other/2008-10-06-RemoveDeadPass.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | opt -inline -internalize -disable-output +define void @foo() nounwind { + ret void +} + +define void @main(...) nounwind { + call void @foo() + ret void +} + + -- cgit v1.2.3