aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-12 20:37:57 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-12 20:37:57 +0000
commitbb2fdd63c64a89470238b80f839062c0b6368041 (patch)
treeb608ae2ed79330e52afb9c98b7411e5ab5c48516 /test/CodeGen
parentd211e731aabeb6caea8ce2bbe0a338fadb3ce28d (diff)
downloadexternal_llvm-bb2fdd63c64a89470238b80f839062c0b6368041.zip
external_llvm-bb2fdd63c64a89470238b80f839062c0b6368041.tar.gz
external_llvm-bb2fdd63c64a89470238b80f839062c0b6368041.tar.bz2
Remove obsolete test.
I don't think this test does what is was supposed to do, and LocalRewriter is going away anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/pr3495-2.ll54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/CodeGen/X86/pr3495-2.ll b/test/CodeGen/X86/pr3495-2.ll
deleted file mode 100644
index a4204e5..0000000
--- a/test/CodeGen/X86/pr3495-2.ll
+++ /dev/null
@@ -1,54 +0,0 @@
-; RUN: llc < %s -march=x86 -relocation-model=pic -disable-fp-elim -stats -regalloc=linearscan |& grep {Number of loads added} | grep 1
-; PR3495
-;
-; This test may not be testing what it was supposed to test.
-; It used to have two spills and four reloads, but not it only has one spill and one reload.
-
-target datalayout = "e-p:32:32:32"
-target triple = "i386-apple-darwin9.6"
- %struct.constraintVCGType = type { i32, i32, i32, i32 }
- %struct.nodeVCGType = type { %struct.constraintVCGType*, i32, i32, i32, %struct.constraintVCGType*, i32, i32, i32 }
-
-define fastcc void @SCC_DFSBelowVCG(%struct.nodeVCGType* %VCG, i32 %net, i32 %label) nounwind {
-entry:
- %0 = getelementptr %struct.nodeVCGType* %VCG, i32 %net, i32 5 ; <i32*> [#uses=2]
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
- %2 = icmp eq i32 %1, 0 ; <i1> [#uses=1]
- br i1 %2, label %bb5, label %bb.nph3
-
-bb.nph3: ; preds = %entry
- %3 = getelementptr %struct.nodeVCGType* %VCG, i32 %net, i32 4 ; <%struct.constraintVCGType**> [#uses=1]
- br label %bb
-
-bb: ; preds = %bb3, %bb.nph3
- %s.02 = phi i32 [ 0, %bb.nph3 ], [ %12, %bb3 ] ; <i32> [#uses=2]
- %4 = load %struct.constraintVCGType** %3, align 4 ; <%struct.constraintVCGType*> [#uses=1]
- %5 = icmp eq i32 0, 0 ; <i1> [#uses=1]
- br i1 %5, label %bb1, label %bb3
-
-bb1: ; preds = %bb
- %6 = getelementptr %struct.constraintVCGType* %4, i32 %s.02, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %6, align 4 ; <i32> [#uses=2]
- %8 = getelementptr %struct.nodeVCGType* %VCG, i32 %7, i32 7 ; <i32*> [#uses=1]
- %9 = load i32* %8, align 4 ; <i32> [#uses=1]
- %10 = icmp eq i32 %9, 0 ; <i1> [#uses=1]
- br i1 %10, label %bb2, label %bb3
-
-bb2: ; preds = %bb1
- %11 = getelementptr %struct.nodeVCGType* %VCG, i32 %7, i32 4 ; <%struct.constraintVCGType**> [#uses=0]
- br label %bb.i
-
-bb.i: ; preds = %bb.i, %bb2
- br label %bb.i
-
-bb3: ; preds = %bb1, %bb
- %12 = add i32 %s.02, 1 ; <i32> [#uses=2]
- %13 = load i32* %0, align 4 ; <i32> [#uses=1]
- %14 = icmp ugt i32 %13, %12 ; <i1> [#uses=1]
- br i1 %14, label %bb, label %bb5
-
-bb5: ; preds = %bb3, %entry
- %15 = getelementptr %struct.nodeVCGType* %VCG, i32 %net, i32 6 ; <i32*> [#uses=1]
- store i32 %label, i32* %15, align 4
- ret void
-}