diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-04-01 19:24:27 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-04-01 19:24:27 +0000 |
commit | 4a6c0afc523716ab6d290ee5eb1b050948a489a7 (patch) | |
tree | 393c4ff8973ba19760bf0a5cc649f38897735221 /test/CodeGen/PowerPC | |
parent | f2dc47ce994a73d0b73abc839e1cb8c4f457a5f7 (diff) | |
download | llvm-4a6c0afc523716ab6d290ee5eb1b050948a489a7.tar.gz llvm-4a6c0afc523716ab6d290ee5eb1b050948a489a7.tar.bz2 llvm-4a6c0afc523716ab6d290ee5eb1b050948a489a7.tar.xz |
[PowerPC] Add some missing VSX bitcast patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/vsx.ll | 8 |
1 files changed, 8 insertions, 0 deletions
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 +} + |