X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fopaquetypes.ll;h=6539c1a6e1ca015a11a2fbf528bd4f2438477c84;hb=7a25825033a53925f6039b77c4cb0b975026b4e1;hp=92efaebfd0a51bfe034f1b2d8074508dfaed25bd;hpb=69ccadd7535a83b348595cf603126e6a68b2883b;p=oota-llvm.git diff --git a/test/Feature/opaquetypes.ll b/test/Feature/opaquetypes.ll index 92efaebfd0a..6539c1a6e1c 100644 --- a/test/Feature/opaquetypes.ll +++ b/test/Feature/opaquetypes.ll @@ -1,4 +1,4 @@ -; 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 @@ -6,10 +6,9 @@ ; and recursive types. Oh my. ; -%SQ1 = type { int } -%ITy = type opaque +%SQ1 = type { i32 } %SQ2 = type { %ITy } -%ITy = type int +%ITy = type i32 %CCC = type { \2* } @@ -22,11 +21,10 @@ type %BBB %Composite = type { %0, %1 } ; Test simple opaque type resolution... -%intty = type opaque -%intty = type int +%intty = type i32 ; Perform a simple forward reference... -%ty1 = type { %ty2, int } +%ty1 = type { %ty2, i32 } %ty2 = type float ; Do a recursive type... @@ -55,7 +53,3 @@ type %BBB %Y1 = type { { \3 * }, \2 * } %Z1 = type { { \3 * }, [12x\3] *, { { { \5 * } } } } -implementation - - -