1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 target datalayout = "n32"
5 define i1 @oss_fuzz_32759(i1 %y) {
6 ; CHECK-LABEL: @oss_fuzz_32759(
8 ; CHECK-NEXT: br i1 undef, label [[COND_TRUE:%.*]], label [[END:%.*]]
10 ; CHECK-NEXT: br label [[END]]
12 ; CHECK-NEXT: ret i1 false
15 br i1 undef, label %cond.true, label %end
17 cond.true: ; preds = %entry
18 %zy = zext i1 %y to i32
19 %B6 = shl i32 %zy, 2147483647
20 %B3 = ashr i32 %B6, 2147483647
21 %B7 = srem i32 %B3, 123
22 %cond = xor i32 %B7, %B3
25 end: ; preds = %cond.true, %entry
26 %p = phi i32 [ %cond, %cond.true ], [ -1, %entry ]
27 %r = icmp eq i32 %p, 0