Dan Gohman | 28beeea | 2007-08-15 13:36:28 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86-64 | grep movup | count 2 |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 2 | |
3 | define <4 x float> @foo(<4 x float>* %p) | ||||
4 | { | ||||
5 | %t = load <4 x float>* %p, align 4 | ||||
6 | ret <4 x float> %t | ||||
7 | } | ||||
8 | define <2 x double> @bar(<2 x double>* %p) | ||||
9 | { | ||||
10 | %t = load <2 x double>* %p, align 8 | ||||
11 | ret <2 x double> %t | ||||
12 | } |