1; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s
2target triple = "powerpc64-unknown-linux-gnu"
3
4define <4 x i16> @test(<4 x float> %f, <4 x float> %g) {
5entry:
6	%r = fcmp ord <4 x float> %f, %g
7	%s = sext <4 x i1> %r to <4 x i16>
8	ret <4 x i16> %s
9}
10
11define <4 x i16> @test2(<4 x float> %f, <4 x float> %g) {
12entry:
13	%r = fcmp one <4 x float> %f, %g
14	%s = sext <4 x i1> %r to <4 x i16>
15	ret <4 x i16> %s
16}
17
18