blob: cb26b9535a818d245c8cce7818cdfea083106fcf [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -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}