From 4a6c0afc523716ab6d290ee5eb1b050948a489a7 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Tue, 1 Apr 2014 19:24:27 +0000 Subject: [PowerPC] Add some missing VSX bitcast patterns git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205352 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/vsx.ll | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/CodeGen') diff --git a/test/CodeGen/PowerPC/vsx.ll b/test/CodeGen/PowerPC/vsx.ll index 9c37fe6d40..f5ac577a75 100644 --- a/test/CodeGen/PowerPC/vsx.ll +++ b/test/CodeGen/PowerPC/vsx.ll @@ -641,3 +641,11 @@ define <2 x i32> @test80(i32 %v) { ; CHECK: blr } +define <2 x double> @test81(<4 x float> %b) { + %w = bitcast <4 x float> %b to <2 x double> + ret <2 x double> %w + +; CHECK-LABEL: @test81 +; CHECK: blr +} + -- cgit v1.2.3