blob: f5d2b39fc63c308d52b0f83268ffb143292da08d [file] [log] [blame]
Quentin Colombetee5f36b2016-05-10 01:09:14 +00001; RUN: llc -verify-machineinstrs -mtriple=x86_64-apple-macosx -show-mc-encoding -mattr=+avx512f < %s | FileCheck %s
2
3
4; Make sure we spill the high numbered YMM registers with the right encoding.
5; CHECK-LABEL: foo
6; CHECK: movups %ymm31, {{.+}}
7; CHECK: encoding: [0x62,0x61,0x7c,0x28,0x11,0xbc,0x24,0xf0,0x03,0x00,0x00]
8; ymm30 is used as an anchor for the previous regexp.
9; CHECK-NEXT: movups %ymm30
10; CHECK: call
11; CHECK: iret
12
13define x86_intrcc void @foo(i8* %frame) {
14 call void @bar()
15 ret void
16}
17
18declare void @bar()
19