comparison test/BugPoint/remove_arguments_test.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children 3a76565eade5
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes 1 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
2 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s 2 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
3 ; REQUIRES: loadable_module 3 ; REQUIRES: loadable_module
4 4
5 ; Test to make sure that arguments are removed from the function if they are 5 ; Test to make sure that arguments are removed from the function if they are
6 ; unnecessary. And clean up any types that that frees up too. 6 ; unnecessary. And clean up any types that frees up too.
7 7
8 ; CHECK: target triple 8 ; CHECK: ModuleID
9 ; CHECK-NOT: struct.anon 9 ; CHECK-NOT: struct.anon
10 %struct.anon = type { i32 } 10 %struct.anon = type { i32 }
11 11
12 declare i32 @test2() 12 declare i32 @test2()
13 13