1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s
4 define i32 @t1(i8 zeroext %x) nounwind {
7 ; CHECK-NEXT: movzbl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: shll $5, %eax
10 %t0 = zext i8 %x to i16
12 %t2 = zext i16 %t1 to i32
16 define i32 @t2(i8 zeroext %x) nounwind {
19 ; CHECK-NEXT: movzbl {{[0-9]+}}(%esp), %eax
20 ; CHECK-NEXT: shrl $3, %eax
22 %t0 = zext i8 %x to i16
24 %t2 = zext i16 %t1 to i32