1 ; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s -check-prefix=X86
2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s -check-prefix=X64
3 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 | FileCheck %s -check-prefix=X32
5 define zeroext i8 @foo() nounwind ssp {
7 %0 = tail call zeroext i16 (...) @bar() nounwind
9 %2 = trunc i16 %1 to i8
14 ; X86-NEXT: movb %ah, %al
15 ; X86-NEXT: addl $12, %esp
21 ; X64-NEXT: shrl $8, %eax
29 ; X32-NEXT: shrl $8, %eax
35 declare zeroext i16 @bar(...)