brintos

brintos / llvm-project-archived public Read only

0
0
Text · 457 B · d3fa16a Raw
18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s3 4define i32 @test(i1 %A) {5; CHECK-LABEL: test:6; CHECK:       # %bb.0:7; CHECK-NEXT:    movzbl {{[0-9]+}}(%esp), %eax8; CHECK-NEXT:    andl $1, %eax9; CHECK-NEXT:    negl %eax10; CHECK-NEXT:    movzbl %al, %eax11; CHECK-NEXT:    retl12  %B = zext i1 %A to i3213  %C = sub i32 0, %B14  %D = and i32 %C, 25515  ret i32 %D16}17 18