Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / Other / 2010-05-06-Printer.ll
index 6c28b4a3d05fb39f8acb9a5c3be43234bb2d8cf5..dcc0e752bb5adbeecbc9e29deab85846a609ed9f 100644 (file)
@@ -1,7 +1,19 @@
-; REQUIRES: native
 ; 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