1 2 3 4 5 6 7 8 9 10 11 12 13 14
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep pcmpgtd define <4 x i32> @test(<4 x i32> %A, <4 x i32> %B) nounwind { %C = vicmp sgt <4 x i32> %A, %B ret <4 x i32> %C } 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 }