From 32159c13f988505d240603145e4c21181041d3ba Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 12 Oct 2006 01:42:03 +0000 Subject: Update tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30895 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/scalar_sse_minmax.ll | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/X86/scalar_sse_minmax.ll') diff --git a/test/CodeGen/X86/scalar_sse_minmax.ll b/test/CodeGen/X86/scalar_sse_minmax.ll index b2217f9..6a464e3 100644 --- a/test/CodeGen/X86/scalar_sse_minmax.ll +++ b/test/CodeGen/X86/scalar_sse_minmax.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1,+sse2 | grep mins | wc -l | grep 2 && +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1,+sse2 | grep mins | wc -l | grep 3 && ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1,+sse2 | grep maxs | wc -l | grep 2 declare bool %llvm.isunordered.f64( double %x, double %y ) @@ -33,5 +33,10 @@ double %max2(double %x, double %y) { ret double %retval } +<4 x float> %min3(float %tmp37) { + %tmp375 = insertelement <4 x float> undef, float %tmp37, uint 0 + %tmp48 = tail call <4 x float> %llvm.x86.sse.min.ss( <4 x float> %tmp375, <4 x float> < float 6.553500e+04, float undef, float undef, float undef > ) + ret <4 x float> %tmp48 +} - +declare <4 x float> %llvm.x86.sse.min.ss(<4 x float>, <4 x float>) -- cgit v1.1