Make sure IPSCCP never marks a tracked call as overdefined in SCCPSolver::ResolvedUnd...
[oota-llvm.git] / test / Transforms / MergeFunc / fold-weak.ll
index cea49fb1ceca5a485ba3cdc939e602aa58c34c30..23e4d33c3a9f5462917b45a07e753d68182a5940 100644 (file)
@@ -1,6 +1,10 @@
-; RUN: llvm-as < %s | opt -mergefunc | llvm-dis > %t
+; 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