1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
4 define i2 @f(i32 %arg) {
7 ; CHECK-NEXT: # kill: def $edi killed $edi def $rdi
8 ; CHECK-NEXT: leal (%rdi,%rdi), %eax
9 ; CHECK-NEXT: orb $1, %al
10 ; CHECK-NEXT: # kill: def $al killed $al killed $eax
12 %trunc = trunc i32 %arg to i1
13 %sext = sext i1 %trunc to i2