brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · feff510 Raw
15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=instcombine -S | FileCheck %s3 4define i1 @PR2330(i32 %a) {5; CHECK-LABEL: @PR2330(6; CHECK-NEXT:    [[TMP1:%.*]] = icmp ne i32 [[A:%.*]], 07; CHECK-NEXT:    ret i1 [[TMP1]]8;9  %tmp15 = shl i32 1, %a10  %tmp237 = and i32 %tmp15, 111  %toBool = icmp eq i32 %tmp237, 012  ret i1 %toBool13}14 15