X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2F2002-02-24-InlineBrokePHINodes.ll;h=db26942096d4554f4edf6cc1c1fe895db6df6acc;hb=1b0dc64919e947bb4f4677b138c734e33061f7c4;hp=cb02ea486eddb4066e3e82bc03911236171f4b1e;hpb=69ccadd7535a83b348595cf603126e6a68b2883b;p=oota-llvm.git diff --git a/test/Other/2002-02-24-InlineBrokePHINodes.ll b/test/Other/2002-02-24-InlineBrokePHINodes.ll index cb02ea486ed..db26942096d 100644 --- a/test/Other/2002-02-24-InlineBrokePHINodes.ll +++ b/test/Other/2002-02-24-InlineBrokePHINodes.ll @@ -1,26 +1,23 @@ -; Inlining used to break PHI nodes. This tests that they are correctly updated +; Inlining used to break PHI nodes. This tests that they are correctly updated ; when a node is split around the call instruction. The verifier caught the error. ; -; RUN: llvm-upgrade < %s | llvm-as | opt -inline +; RUN: opt < %s -inline ; -implementation -ulong "test"(ulong %X) -begin - ret ulong %X -end +define i64 @test(i64 %X) { + ret i64 %X +} -ulong "fib"(ulong %n) -begin - %T = setlt ulong %n, 2 ; {bool}:0 - br bool %T, label %BaseCase, label %RecurseCase +define i64 @fib(i64 %n) { +;