1 ; RUN: opt -S < %s -unreachableblockelim | FileCheck %s
2 ; RUN: opt -S < %s -passes=unreachableblockelim | FileCheck %s
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
11 define void @foo(i32* %p) {
13 %p.addr = alloca i32*, align 8
17 return: ; No predecessors!
18 store i32* %p, i32** %p.addr, align 8