summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/small.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-01 07:38:40 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-01 07:38:40 +0000
commitb7e02fc0bf18ec1d026291aab48d125a455b3ec5 (patch)
treec8363a654a595a92d7917b036128aa4555ab1c56 /llvm/test/Feature/small.ll
parentbb2090018474648c03f16b5db8b7cf8987fcb9ed (diff)
downloadbcm5719-llvm-b7e02fc0bf18ec1d026291aab48d125a455b3ec5.tar.gz
bcm5719-llvm-b7e02fc0bf18ec1d026291aab48d125a455b3ec5.zip
Remove llvm-upgrade and update tests.
llvm-svn: 47784
Diffstat (limited to 'llvm/test/Feature/small.ll')
-rw-r--r--llvm/test/Feature/small.ll15
1 files changed, 6 insertions, 9 deletions
diff --git a/llvm/test/Feature/small.ll b/llvm/test/Feature/small.ll
index 6ef37c7083a..4644f6421bc 100644
--- a/llvm/test/Feature/small.ll
+++ b/llvm/test/Feature/small.ll
@@ -1,14 +1,11 @@
-; 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
-%x = type int
+%x = type i32
-implementation
-
-int "foo"(int %in)
-begin
-label:
- ret int 2
-end
+define i32 @foo(i32 %in) {
+label:
+ ret i32 2
+}
OpenPOWER on IntegriCloud