summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/avx-cvt.ll
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-09 03:04:29 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-09 03:04:29 +0000
commit2f613c5fff7061aac8e75a45dc1f712935fdd9cd (patch)
tree970497b76c92f41068ed9cda65d851abcbeda14a /test/CodeGen/X86/avx-cvt.ll
parenta1dfb63b78d212324da3a0c325e8d32dc3a7ec69 (diff)
downloadllvm-2f613c5fff7061aac8e75a45dc1f712935fdd9cd.tar.gz
llvm-2f613c5fff7061aac8e75a45dc1f712935fdd9cd.tar.bz2
llvm-2f613c5fff7061aac8e75a45dc1f712935fdd9cd.tar.xz
Add support for avx vector fextend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-cvt.ll')
-rw-r--r--test/CodeGen/X86/avx-cvt.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/avx-cvt.ll b/test/CodeGen/X86/avx-cvt.ll
index 6da47af5ab..e45010c903 100644
--- a/test/CodeGen/X86/avx-cvt.ll
+++ b/test/CodeGen/X86/avx-cvt.ll
@@ -20,6 +20,12 @@ define <8 x float> @fptrunc00(<8 x double> %b) nounwind {
ret <8 x float> %a
}
+; CHECK: vcvtps2pd %xmm
+define <4 x double> @fpext00(<4 x float> %b) nounwind {
+ %a = fpext <4 x float> %b to <4 x double>
+ ret <4 x double> %a
+}
+
; CHECK: vcvtsi2sdq (%
define double @funcA(i64* nocapture %e) nounwind uwtable readonly ssp {
entry: