1; RUN: opt -simplifycfg -disable-output < %s 2 3@foo = external constant i32 4 5define i32 @f() { 6entry: 7 br i1 icmp eq (i64 and (i64 ptrtoint (i32* @foo to i64), i64 15), i64 0), label %if.end, label %if.then 8 9if.then: ; preds = %entry 10 br label %return 11 12if.end: ; preds = %entry 13 br label %return 14 15return: ; preds = %if.end, %if.then 16 %storemerge = phi i32 [ 1, %if.end ], [ 0, %if.then ] 17 ret i32 %storemerge 18} 19