1 ; RUN: llc < %s -march=x86-64 | grep movzbl | count 2
3 ; Use movzbl to avoid partial-register updates.
5 define i32 @foo(i32 %p, i8 zeroext %x) nounwind {
6 %q = trunc i32 %p to i8
12 define i32 @bar(i32 %p, i16 zeroext %x) nounwind {
13 %q = trunc i32 %p to i16
15 %s = zext i16 %r to i32