diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-14 06:30:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-14 06:30:45 +0000 |
commit | 593051b4e2c5fb88fa4acbe3bec92581bef554c0 (patch) | |
tree | 0ee78d62e47777b0463fbe55e6ca79c6efe30909 /test | |
parent | 463b3c2a9974acf7586d1e6a4416aa7cc004ff0e (diff) | |
download | llvm-593051b4e2c5fb88fa4acbe3bec92581bef554c0.tar.gz llvm-593051b4e2c5fb88fa4acbe3bec92581bef554c0.tar.bz2 llvm-593051b4e2c5fb88fa4acbe3bec92581bef554c0.tar.xz |
fix PR9210 by implementing some type legalization logic for
vector fp conversions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/sse2.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse2.ll b/test/CodeGen/X86/sse2.ll index 8fcfdff289..5c3e32f016 100644 --- a/test/CodeGen/X86/sse2.ll +++ b/test/CodeGen/X86/sse2.ll @@ -214,3 +214,11 @@ entry: store <4 x float> %2, <4 x float> * undef ret void } + +; PR9210 +define <4 x float> @f(<4 x double>) nounwind { +entry: + %double2float.i = fptrunc <4 x double> %0 to <4 x float> + ret <4 x float> %double2float.i +} + |