[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
[oota-llvm.git] / test / Transforms / MergeFunc / fold-weak.ll
index 5598c250ec3c6d7ab8fe0fb700b52f417b687ce3..4df6e39c1256585147f531286af43ae7bcc8bdc4 100644 (file)
@@ -1,6 +1,10 @@
-; RUN: opt %s -mergefunc | llvm-dis > %t
-; RUN: grep {define weak} %t | count 2
-; RUN: grep {call} %t | count 2
+; RUN: opt < %s -mergefunc -S > %t
+; RUN: grep "define weak" %t | count 2
+; RUN: grep "call" %t | count 2
+; XFAIL: *
+
+; This test is off for a bit as we change this particular sort of folding to
+; only apply on ELF systems and not Mach-O systems.
 
 define weak i32 @sum(i32 %x, i32 %y) {
   %sum = add i32 %x, %y