From 9bc243b2517f4f1aef3319ba01ea6f0788e87cb6 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 1 Mar 2008 07:38:40 +0000 Subject: Remove llvm-upgrade and update tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47784 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/unreachable.ll | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'test/Feature/unreachable.ll') diff --git a/test/Feature/unreachable.ll b/test/Feature/unreachable.ll index 48558dded0..8bffb4c10e 100644 --- a/test/Feature/unreachable.ll +++ b/test/Feature/unreachable.ll @@ -1,17 +1,15 @@ -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll +; RUN: llvm-as < %s | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll +declare void @bar() -implementation - -declare void %bar() - -int %foo() { ;; Calling this function has undefined behavior - unreachable +define i32 @foo() { + unreachable } -double %xyz() { - call void %bar() - unreachable ;; Bar must not return. +define double @xyz() { + call void @bar( ) + unreachable } + -- cgit v1.2.3