1 ; REQUIRES: aarch64-registered-target
2 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=diff %s 2>&1 | FileCheck %s --check-prefixes=DIFF,VERBOSE
3 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=diff-quiet %s 2>&1 | FileCheck %s --check-prefixes=DIFF,QUIET
4 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=cdiff %s 2>&1 | FileCheck %s --check-prefixes=CDIFF,VERBOSE
5 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=cdiff-quiet %s 2>&1 | FileCheck %s --check-prefixes=CDIFF,QUIET
7 ; VERBOSE: *** IR Dump After AArch64O0PreLegalizerCombiner (aarch64-O0-prelegalizer-combiner) on foo omitted because no change ***
8 ; QUIET-NOT: *** {{.*}} omitted because no change ***
10 ; DIFF: *** IR Dump After Legalizer (legalizer) on foo ***
11 ; DIFF-NEXT: -# Machine code for function foo: IsSSA, TracksLiveness
12 ; DIFF-NEXT: +# Machine code for function foo: IsSSA, TracksLiveness, Legalized
13 ; DIFF-NEXT: Function Live Ins: $w0
15 ; CDIFF: *** IR Dump After Legalizer (legalizer) on foo ***
16 ; CDIFF-NEXT: {{.\[31m-}}# Machine code for function foo: IsSSA, TracksLiveness{{.\[0m}}
17 ; CDIFF-NEXT: {{.\[32m\+}}# Machine code for function foo: IsSSA, TracksLiveness, Legalized{{.\[0m}}
21 define void @foo(i32 %a) {
24 store i32 %b, ptr @var
28 define void @bar(i32 %a) {
31 store i32 %b, ptr @var