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