1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/CodeGen/X86/vec_compare.ll
2009-07-08 00:49:35 +00:00

10 lines
225 B
LLVM

; 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
}