From: Tanya Lattner Date: Tue, 19 Feb 2008 01:44:26 +0000 (+0000) Subject: Remove llvm-upgrade and update tests. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ad38be2cf53467d39c34456795360f122b37629;p=oota-llvm.git Remove llvm-upgrade and update tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47297 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Other/2002-01-31-CallGraph.ll b/test/Other/2002-01-31-CallGraph.ll index 61c1277d642..e09461dc2ac 100644 --- a/test/Other/2002-01-31-CallGraph.ll +++ b/test/Other/2002-01-31-CallGraph.ll @@ -1,15 +1,13 @@ ; Call graph construction crash: Not handling indirect calls right ; -; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph +; RUN: llvm-as < %s | opt -analyze -callgraph ; -%FunTy = type int(int) + %FunTy = type i32 (i32) -implementation +define void @invoke(%FunTy* %x) { + %foo = call i32 %x( i32 123 ) ; [#uses=0] + ret void +} -void "invoke"(%FunTy *%x) -begin - %foo = call %FunTy* %x(int 123) - ret void -end diff --git a/test/Other/2002-02-24-InlineBrokePHINodes.ll b/test/Other/2002-02-24-InlineBrokePHINodes.ll index cb02ea486ed..cbb1a896937 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: llvm-as < %s | opt -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) { +;