Added the ability to xfail based on llvmgcc version
[oota-llvm.git] / test / Transforms / SCCP / 2002-05-02-EdgeFailure.ll
index 341847bc13ae6d5a674c0b39d1faf3adc47b8938..9eeca701236d0115ecc2e3b0d94b4b5dfe8c5fd7 100644 (file)
@@ -5,13 +5,9 @@
 ; real benchmark (mst from Olden benchmark, MakeGraph function).  When SCCP is
 ; fixed, this should be eliminated by a single SCCP application.
 ;
-; RUN: if as < %s | opt -sccp | dis | grep loop
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep loop
 
-int *"test"()
-begin
+int* %test() {
 bb1:
        %A = malloc int
        br label %bb2
@@ -24,5 +20,4 @@ bb2:
 
 bb3:
        ret int * %A
-end
-
+}