X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=test%2FTransforms%2FInstSimplify%2Fundef.ll;h=181c2efa2dc0b1f47582146575e74a4c2f1eb8e5;hb=36b56886974eae4f9c5ebc96befd3e7bfe5de338;hp=23cd50f92b40f7b0f666cfa4089433403444e0ff;hpb=69a8640022b04415ae9fac62f8ab090601d8f889;p=android-x86%2Fexternal-llvm.git diff --git a/test/Transforms/InstSimplify/undef.ll b/test/Transforms/InstSimplify/undef.ll index 23cd50f92b4..181c2efa2dc 100644 --- a/test/Transforms/InstSimplify/undef.ll +++ b/test/Transforms/InstSimplify/undef.ll @@ -153,3 +153,10 @@ define i64 @test18(i64 %a) { %r = call i64 (i64)* undef(i64 %a) ret i64 %r } + +; CHECK-LABEL: @test19 +; CHECK: ret <4 x i8> undef +define <4 x i8> @test19(<4 x i8> %a) { + %b = shl <4 x i8> %a, + ret <4 x i8> %b +}