blob: ce540112087cf16ba93a5f7322de118e888aabd0 [file] [log] [blame]
Evan Cheng536e6672009-03-12 05:59:15 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep {movq.*(%rsi), %rax}
2; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {movsd.*(%eax),}
3
4; Uses movsd to load / store i64 values in sse2 is available.
5
6; rdar://6659858
7
8define void @foo(i64* %x, i64* %y) nounwind {
9entry:
10 %tmp1 = load i64* %y, align 8 ; <i64> [#uses=1]
11 store i64 %tmp1, i64* %x, align 8
12 ret void
13}