X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Finstructions.ll;h=d0c303d71914c17baa7fa5d6d22db61944e0b7b3;hb=5c1f17221344fe24f8ba78fdbac7db4f79ded257;hp=68674917751b50e0b888218887effa6375fdbeaa;hpb=161a4c9d79bdf87482c5d4bbfd1240d2a8779e5a;p=oota-llvm.git diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll index 68674917751..d0c303d7191 100644 --- a/test/Feature/instructions.ll +++ b/test/Feature/instructions.ll @@ -1,25 +1,24 @@ -; 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 -uint %test_extractelement(<4 x uint> %V) { - %R = extractelement <4 x uint> %V, uint 1 - ret uint %R +define i32 @test_extractelement(<4 x i32> %V) { + %R = extractelement <4 x i32> %V, i32 1 ; [#uses=1] + ret i32 %R } -<4 x uint> %test_insertelement(<4 x uint> %V) { - %R = insertelement <4 x uint> %V, uint 0, uint 0 - ret <4 x uint> %R +define <4 x i32> @test_insertelement(<4 x i32> %V) { + %R = insertelement <4 x i32> %V, i32 0, i32 0 ; <<4 x i32>> [#uses=1] + ret <4 x i32> %R } -<4 x uint> %test_shufflevector_u(<4 x uint> %V) { - %R = shufflevector <4 x uint> %V, <4 x uint> %V, - <4 x uint> < uint 1, uint undef, uint 7, uint 2> - ret <4 x uint> %R +define <4 x i32> @test_shufflevector_u(<4 x i32> %V) { + %R = shufflevector <4 x i32> %V, <4 x i32> %V, <4 x i32> < i32 1, i32 undef, i32 7, i32 2 > ; <<4 x i32>> [#uses=1] + ret <4 x i32> %R } -<4 x float> %test_shufflevector_f(<4 x float> %V) { - %R = shufflevector <4 x float> %V, <4 x float> undef, - <4 x uint> < uint 1, uint undef, uint 7, uint 2> +define <4 x float> @test_shufflevector_f(<4 x float> %V) { + %R = shufflevector <4 x float> %V, <4 x float> undef, <4 x i32> < i32 1, i32 undef, i32 7, i32 2 > ; <<4 x float>> [#uses=1] ret <4 x float> %R } +