blob: 24b437ab3534ea5f45278c445cb8e62f85d3eadb [file] [log] [blame]
Dan Gohman28beeea2007-08-15 13:36:28 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep movup | count 2
Dan Gohman4106f372007-07-18 20:23:34 +00002
Evan Cheng687bcb22008-05-07 22:59:08 +00003define <4 x float> @foo(<4 x float>* %p) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +00004 %t = load <4 x float>* %p, align 4
5 ret <4 x float> %t
6}
Evan Cheng687bcb22008-05-07 22:59:08 +00007define <2 x double> @bar(<2 x double>* %p) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +00008 %t = load <2 x double>* %p, align 8
9 ret <2 x double> %t
10}