view test/Other/2010-05-06-Printer.ll @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 7d135dc70f03
children c2174574ed3a
line wrap: on
line source

; RUN: llc -O2 -print-after-all < %s 2>/dev/null
; RUN: llc -O2 -print-after-all < %s 2>&1 | FileCheck %s --check-prefix=ALL
; RUN: llc -O2 -print-after-all -filter-print-funcs=foo < %s 2>&1 | FileCheck %s --check-prefix=FOO
; REQUIRES: default_triple
define void @tester(){
  ret void
}

define void @foo(){
  ret void
}

;ALL: define void @tester()
;ALL: define void @foo()
;ALL: ModuleID =

;FOO: IR Dump After
;FOO-NEXT: define void @foo()
;FOO-NOT: define void @tester