1 ; RUN: opt < %s -passes=reassociate
3 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
4 target triple = "i386-gnu-linux"
6 define void @exp_averages_intraday__deviation() {
8 %0 = load i32, ptr undef, align 4
10 %2 = add nsw i32 undef, %1
11 %3 = add nsw i32 %2, undef
12 %4 = mul nsw i32 %0, 12
13 %5 = add nsw i32 %3, %4
14 %6 = add nsw i32 %5, %4
15 %7 = add nsw i32 %6, undef
16 br i1 false, label %"4", label %"12"
19 br i1 undef, label %"5", label %"8"
25 %8 = getelementptr inbounds i8, ptr undef, i32 %6
26 br i1 undef, label %"13", label %"12"
28 "12": ; preds = %"8", %entry