1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=sse2 | grep movsd | count 5
2 ; RUN: llvm-as < %s | llc -march=x86 -mattr=sse2 -O0 | grep movsd | count 5
4 @x = external global double
6 define void @foo() nounwind {
7 %a = volatile load double* @x
8 volatile store double 0.0, double* @x
9 volatile store double 0.0, double* @x
10 %b = volatile load double* @x
14 define void @bar() nounwind {
15 %c = volatile load double* @x