diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-06 20:36:36 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-06 20:36:36 +0000 |
commit | 3faa412ba04e687a9e3f9e60e8c5d1a482857f4a (patch) | |
tree | 3e75deb6b1b1914c18b790c5d00eeb8c678e010b /test/Other/2008-10-06-RemoveDeadPass.ll | |
parent | 2b1add3842fbd079c9e53f0c9499b325b412ccad (diff) | |
download | external_llvm-3faa412ba04e687a9e3f9e60e8c5d1a482857f4a.zip external_llvm-3faa412ba04e687a9e3f9e60e8c5d1a482857f4a.tar.gz external_llvm-3faa412ba04e687a9e3f9e60e8c5d1a482857f4a.tar.bz2 |
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
Diffstat (limited to 'test/Other/2008-10-06-RemoveDeadPass.ll')
-rw-r--r-- | test/Other/2008-10-06-RemoveDeadPass.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Other/2008-10-06-RemoveDeadPass.ll b/test/Other/2008-10-06-RemoveDeadPass.ll new file mode 100644 index 0000000..a82d1b6 --- /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 +} + + |