1 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
3 ; X64-NEXT: movb %ah, (%rsi)
5 ; X64-NEXT: movb %ah, (%rsi)
7 ; X64-NEXT: movb %ah, (%rsi)
10 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=W64
12 ; W64: movb %ch, (%rdx)
14 ; W64: movb %ch, (%rdx)
16 ; W64: movb %ch, (%rdx)
19 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
28 ; Use h-register extract and store.
30 define void @foo16(i16 inreg %p, i8* inreg %z) nounwind {
32 %t = trunc i16 %q to i8
36 define void @foo32(i32 inreg %p, i8* inreg %z) nounwind {
38 %t = trunc i32 %q to i8
42 define void @foo64(i64 inreg %p, i8* inreg %z) nounwind {
44 %t = trunc i64 %q to i8