1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s
4 define i32 @test(i1 %A) {
7 ; CHECK-NEXT: movzbl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: andl $1, %eax
9 ; CHECK-NEXT: negl %eax
10 ; CHECK-NEXT: movzbl %al, %eax
12 %B = zext i1 %A to i32