Testcase broken - Entry node of method cannot have predecessors!
authorChris Lattner <sabre@nondot.org>
Thu, 31 Jan 2002 00:25:00 +0000 (00:25 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 Jan 2002 00:25:00 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1597 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/basictest.ll

index ea6436f68b8e0afb77baf9bed8c2cdd8c64a5562..7508f589c309320b4874ac93779352d3f3947d64 100644 (file)
@@ -7,10 +7,12 @@ void "void"(int, int)   ; Def %0, %1
        const int 0          ; Def 2
        const int -4         ; Def 3
 begin
+       br label %1
+
        add int %0, %1    ; Def 4
        sub int %4, %3    ; Def 5
        setle int %5, %2  ; Def 0 - bool plane
-       br bool %0, label %1, label %0
+       br bool %0, label %2, label %1
 
        add int %0, %1    ; Def 6
        sub int %4, %3    ; Def 7