Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep movq | wc -l | grep 1 |
2 | |||||
3 | <2 x long> %test(<2 x long>* %p) { | ||||
4 | %tmp = cast <2 x long>* %p to double* | ||||
5 | %tmp = load double* %tmp | ||||
6 | %tmp = insertelement <2 x double> undef, double %tmp, uint 0 | ||||
7 | %tmp5 = insertelement <2 x double> %tmp, double 0.000000e+00, uint 1 | ||||
8 | %tmp = cast <2 x double> %tmp5 to <2 x long> | ||||
9 | ret <2 x long> %tmp | ||||
10 | } |