zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git] / test / Transforms / TailDup / 2003-08-31-UnreachableBlocks.ll
blobdc6492353b7ed27fb145f3493f3d9d6abba83bf5
1 ; RUN: opt < %s -tailduplicate -disable-output
3 define i32 @foo() {
4 entry:
5         br label %return.i
6 after_ret.i:            ; No predecessors!
7         br label %return.i
8 return.i:               ; preds = %after_ret.i, %entry
9         %tmp.3 = ptrtoint i32* null to i32              ; <i32> [#uses=1]
10         br label %return.i1
11 after_ret.i1:           ; No predecessors!
12         br label %return.i1
13 return.i1:              ; preds = %after_ret.i1, %return.i
14         %tmp.8 = sub i32 %tmp.3, 0              ; <i32> [#uses=0]
15         ret i32 0