aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/sse-align-9.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/sse-align-9.ll')
-rw-r--r--test/CodeGen/X86/sse-align-9.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse-align-9.ll b/test/CodeGen/X86/sse-align-9.ll
new file mode 100644
index 0000000..cb26b95
--- /dev/null
+++ b/test/CodeGen/X86/sse-align-9.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -march=x86-64 | grep movup | count 2
+
+define <4 x float> @foo(<4 x float>* %p) nounwind {
+ %t = load <4 x float>* %p, align 4
+ ret <4 x float> %t
+}
+define <2 x double> @bar(<2 x double>* %p) nounwind {
+ %t = load <2 x double>* %p, align 8
+ ret <2 x double> %t
+}