18 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s2target 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, %g7 %s = sext <4 x i1> %r to <4 x i16>8 ret <4 x i16> %s9}10 11define <4 x i16> @test2(<4 x float> %f, <4 x float> %g) {12entry:13 %r = fcmp one <4 x float> %f, %g14 %s = sext <4 x i1> %r to <4 x i16>15 ret <4 x i16> %s16}17 18