blob: 0d2b29c0b420175e154afcd532e3f700384ee509 [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
Evan Cheng826af202009-03-12 17:07:39 +00004; Uses movsd to load / store i64 values if sse2 is available.
Evan Cheng536e6672009-03-12 05:59:15 +00005
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}