1 ; RUN: opt -S -dse < %s | FileCheck %s
3 declare i8* @llvm.init.trampoline(i8*, i8*, i8*)
7 define void @unused_trampoline() {
8 ; CHECK: @unused_trampoline
9 %storage = alloca [10 x i8], align 16 ; <[10 x i8]*> [#uses=1]
11 %cast = getelementptr [10 x i8]* %storage, i32 0, i32 0 ; <i8*> [#uses=1]
12 %tramp = call i8* @llvm.init.trampoline( i8* %cast, i8* bitcast (void ()* @f to i8*), i8* null ) ; <i8*> [#uses=1]
13 ; CHECK-NOT: trampoline