X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fsmall.ll;h=4644f6421bc289ba27536e2593fbc4a8593fb0fb;hb=7c1683d47c960a66dc0e006f789962b3f10d6f45;hp=6ef37c7083a08eecddb1928a55e533b2077243cc;hpb=69ccadd7535a83b348595cf603126e6a68b2883b;p=oota-llvm.git diff --git a/test/Feature/small.ll b/test/Feature/small.ll index 6ef37c7083a..4644f6421bc 100644 --- a/test/Feature/small.ll +++ b/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 +}