1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=instcombine -S | FileCheck %s
4 define i1 @PR2330(i32 %a) {
5 ; CHECK-LABEL: @PR2330(
6 ; CHECK-NEXT: [[TMP1:%.*]] = icmp ne i32 [[A:%.*]], 0
7 ; CHECK-NEXT: ret i1 [[TMP1]]
10 %tmp237 = and i32 %tmp15, 1
11 %toBool = icmp eq i32 %tmp237, 0