Quentin Colombet | ee5f36b | 2016-05-10 01:09:14 +0000 | [diff] [blame^] | 1 | ; 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 | |
| 13 | define x86_intrcc void @foo(i8* %frame) { |
| 14 | call void @bar() |
| 15 | ret void |
| 16 | } |
| 17 | |
| 18 | declare void @bar() |
| 19 | |