brintos

brintos / llvm-project-archived public Read only

0
0
Text · 389 B · 93f7e36 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=instcombine -S | FileCheck %s3 4define i32 @test1(i8 %X) {5; CHECK-LABEL: @test1(6; CHECK-NEXT:    [[TMP1:%.*]] = and i8 [[X:%.*]], 87; CHECK-NEXT:    [[Z:%.*]] = zext nneg i8 [[TMP1]] to i328; CHECK-NEXT:    ret i32 [[Z]]9;10  %Y = zext i8 %X to i3211  %Z = and i32 %Y, 6554412  ret i32 %Z13}14 15 16