Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -march=x86 > %t |
Evan Cheng | 025098e | 2009-03-25 20:20:11 +0000 | [diff] [blame] | 2 | ; RUN: grep movsbl %t |
Dan Gohman | 759ed29 | 2008-07-31 00:50:31 +0000 | [diff] [blame] | 3 | ; RUN: not grep movz %t |
4 | ; RUN: not grep and %t | ||||
5 | |||||
6 | define i8 @foo(i16 signext %x) signext nounwind { | ||||
7 | %retval56 = trunc i16 %x to i8 | ||||
8 | ret i8 %retval56 | ||||
9 | } |