summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/small.ll
diff options
context:
space:
mode:
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