1; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s 2 3define <2 x double> @foo() nounwind { 4 ret <2 x double> bitcast (<2 x i64><i64 -1, i64 -1> to <2 x double>) 5; CHECK-LABEL: foo: 6; CHECK: pcmpeqd %xmm0, %xmm0 7; CHECK-NOT: %xmm 8; CHECK: ret 9} 10define <2 x double> @bar() nounwind { 11 ret <2 x double> bitcast (<2 x i64><i64 0, i64 0> to <2 x double>) 12; CHECK-LABEL: bar: 13; CHECK: xorps %xmm0, %xmm0 14; CHECK-NOT: %xmm 15; CHECK: ret 16} 17