1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
3 target triple = "x86_64-unknown-linux-gnu"
5 ; Check that a <4 x float> compare is generated and that we are
6 ; not stuck in an endless loop.
12 define void @cmp_2_floats() {
14 %0 = fcmp oeq <2 x float> undef, undef
15 %1 = select <2 x i1> %0, <2 x float> undef, <2 x float> undef
16 store <2 x float> %1, <2 x float>* undef
20 ; CHECK: cmp_2_doubles
24 define void @cmp_2_doubles() {
26 %0 = fcmp oeq <2 x double> undef, undef
27 %1 = select <2 x i1> %0, <2 x double> undef, <2 x double> undef
28 store <2 x double> %1, <2 x double>* undef