1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Testcase for PR2762.

llvm-svn: 57633
This commit is contained in:
Duncan Sands 2008-10-16 08:56:46 +00:00
parent 9afb6adf17
commit 10e931facf

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | llc -enable-legalize-types
; PR2762
define void @foo(<4 x i32>* %p, <4 x double>* %q) {
%n = load <4 x i32>* %p
%z = sitofp <4 x i32> %n to <4 x double>
store <4 x double> %z, <4 x double>* %q
ret void
}