19 lines · plain
1; RUN: llc -O2 -print-after-all < %s 2>/dev/null2; RUN: llc -O2 -print-after-all < %s 2>&1 | FileCheck %s --check-prefix=ALL3; RUN: llc -O2 -print-after-all -filter-print-funcs=foo < %s 2>&1 | FileCheck %s --check-prefix=FOO4; REQUIRES: default_triple5define void @tester(){6 ret void7}8 9define void @foo(){10 ret void11}12 13;ALL: define void @tester()14;ALL: define void @foo()15 16;FOO: IR Dump After17;FOO-NEXT: define void @foo()18;FOO-NOT: define void @tester19