blob: 785a6a900b54df9bc836c599d927f45280c0914d [file] [log] [blame]
Evan Cheng99b653c2009-12-15 00:41:36 +00001; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
2
3define zeroext i16 @t1(i16 zeroext %x) nounwind readnone ssp {
4entry:
5; CHECK: t1:
6; CHECK: seta %al
7; CHECK: movzbl %al, %eax
8; CHECK: shll $5, %eax
9 %0 = icmp ugt i16 %x, 26 ; <i1> [#uses=1]
10 %iftmp.1.0 = select i1 %0, i16 32, i16 0 ; <i16> [#uses=1]
11 ret i16 %iftmp.1.0
12}
13