x86_64: designate most general purpose and SSE registers as callee save under coldcc
[oota-llvm.git] / test / CodeGen / X86 / coldcc64.ll
1 ; RUN: llc < %s | FileCheck %s
2
3 target triple = "x86_64-linux-gnu"
4
5 define coldcc void @foo() {
6 ; CHECK: pushq %rbp
7 ; CHECK: pushq %r15
8 ; CHECK: pushq %r14
9 ; CHECK: pushq %r13
10 ; CHECK: pushq %r12
11 ; CHECK: pushq %r11
12 ; CHECK: pushq %r10
13 ; CHECK: pushq %r9
14 ; CHECK: pushq %r8
15 ; CHECK: pushq %rdi
16 ; CHECK: pushq %rsi
17 ; CHECK: pushq %rdx
18 ; CHECK: pushq %rcx
19 ; CHECK: pushq %rbx
20 ; CHECK: vmovaps %xmm15
21 ; CHECK: vmovaps %xmm0
22   call void asm sideeffect "", "~{xmm15},~{xmm0},~{rbp},~{r15},~{r14},~{r13},~{r12},~{r11},~{r10},~{r9},~{r8},~{rdi},~{rsi},~{rdx},~{rcx},~{rbx}"()
23   ret void
24 }