1 ; RUN: opt < %s -basicaa -licm -S | FileCheck %s
4 @g_39 = external global i16, align 2
6 declare i32* @func_84(i32** nocapture) nounwind readonly
8 declare i32** @func_108(i32*** nocapture) nounwind readonly
10 define void @func() nounwind {
12 br label %for.body4.lr.ph
18 ; CHECK: load volatile i16, i16* @g_39
21 %l_612.11 = phi i32* [ undef, %for.body4.lr.ph ], [ %call19, %for.body4 ]
22 %tmp7 = load volatile i16, i16* @g_39, align 2
23 %call = call i32** @func_108(i32*** undef)
24 %call19 = call i32* @func_84(i32** %call)
25 br i1 false, label %for.body4, label %for.cond.loopexit
28 br i1 false, label %for.body4.lr.ph, label %for.end26