1 ; REQUIRES: aarch64-registered-target
2 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed %s 2>&1 | FileCheck %s --check-prefixes=VERBOSE,VERBOSE-BAR
3 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed -filter-print-funcs=foo %s 2>&1 | FileCheck %s --check-prefixes=VERBOSE,NO-BAR
5 ; VERBOSE: *** IR Dump After IRTranslator (irtranslator) on foo ***
6 ; VERBOSE-NEXT: # Machine code for function foo: IsSSA, TracksLiveness{{$}}
7 ; VERBOSE-NEXT: Function Live Ins: $w0
9 ; VERBOSE-NEXT: bb.1.entry:
10 ; VERBOSE: *** IR Dump After Analysis for ComputingKnownBits on foo omitted because no change ***
11 ; VERBOSE-NEXT: *** IR Dump After AArch64O0PreLegalizerCombiner on foo omitted because no change ***
12 ; VERBOSE: *** IR Dump After Legalizer (legalizer) on foo ***
13 ; VERBOSE-NEXT: # Machine code for function foo: IsSSA, TracksLiveness, Legalized
14 ; VERBOSE-NEXT: Function Live Ins: $w0
16 ; VERBOSE-NEXT: bb.1.entry:
18 ; VERBOSE-BAR: *** IR Dump After IRTranslator (irtranslator) on bar ***
19 ; NO-BAR-NOT: on bar ***
21 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=quiet %s 2>&1 | FileCheck %s --check-prefix=QUIET
23 ; QUIET: *** IR Dump After IRTranslator (irtranslator) on foo ***
25 ; QUIET: *** IR Dump After Legalizer (legalizer) on foo ***
27 ;; dot-cfg/dot-cfg-quiet are unimplemented. Currently they behave like 'quiet'.
28 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=dot-cfg %s 2>&1 | FileCheck %s --check-prefix=QUIET
32 define void @foo(i32 %a) {
35 store i32 %b, ptr @var
39 define void @bar(i32 %a) {
42 store i32 %b, ptr @var