Add a test case to check handling of dbg-declare by fast-isel.
[oota-llvm.git] / test / CodeGen / X86 / pr3495-2.ll
index f67ff75d46ae8b496febfc620cc46d4873c5e52a..98c064a07db926603efe90eebe0533424c75ef34 100644 (file)
@@ -1,5 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=pic -disable-fp-elim -stats |& grep {Number of reloads omited}
+; RUN: llc < %s -march=x86 -relocation-model=pic -disable-fp-elim -stats |& 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 }