summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_compare.ll
blob: 42a3c2a8020af1db103a5b2c25dd6b5bdaf72713 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep pcmpgtd


define <4 x i32> @test2(<4 x i32> %A, <4 x i32> %B) nounwind {
	%C = icmp sgt <4 x i32> %A, %B
        %D = sext <4 x i1> %C to <4 x i32>
	ret <4 x i32> %D
}

OpenPOWER on IntegriCloud