2 ; RUN: llc < %s | FileCheck %s -check-prefix=NOIPRA
3 ; RUN: llc -enable-ipra < %s | FileCheck %s
6 target triple = "x86_64-unknown-unknown"
10 define preserve_allcc void @foo()#0 {
11 ; Due to preserve_allcc foo() will save some registers at start of foo()
12 ; prefix NOIPRA will verify that.
15 ; NOIPRA-NEXT: pushq %r9
16 ; NOIPRA-NEXT: pushq %r8
18 ; When IPRA is present above registers will not be saved and that is verified
21 ; CHECK-NOT: pushq %r10
22 ; CHECK-NOT: pushq %r9
23 ; CHECK-NOT: pushq %r8
32 attributes #0 = {nounwind}