1; REQUIRES: asserts
2; RUN: llc -debug-only=regalloc < %s 2>&1 |FileCheck %s --check-prefix=DEBUG
3
4; DEBUG-COUNT-3:         AllocationOrder(VRSAVERC) = [ ]
5
6target triple = "powerpc64le-unknown-linux-gnu"
7
8define hidden fastcc void @test() {
9freescalar:
10  %0 = load i32, i32* undef, align 4
11  br label %if.end420
12
13if.end420:                                        ; preds = %freescalar
14  br label %free_rv
15
16free_rv:                                          ; preds = %if.end420
17  %and427 = and i32 %0, -2147481600
18  %cmp428 = icmp eq i32 %and427, -2147481600
19  br i1 %cmp428, label %if.then430, label %free_body
20
21if.then430:                                       ; preds = %free_rv
22  call fastcc void undef()
23  br label %free_body
24
25free_body:                                        ; preds = %if.then430, %free_rv
26  %or502 = or i32 undef, 255
27  store i32 %or502, i32* undef, align 4
28  ret void
29}
30
31