Apply Duncan's test fix from r139986 to the avx version of that test too.

llvm-svn: 139992
This commit is contained in:
Benjamin Kramer 2011-09-18 00:41:38 +00:00
parent 4037235429
commit 98e5736295
1 changed files with 4 additions and 4 deletions

View File

@ -94,11 +94,11 @@ define <2 x double> @A(<2 x double> %x, <2 x double> %y) {
; CHECK: B
define <2 x double> @B(<2 x double> %x, <2 x double> %y) {
; CHECK: vcmpltpd
; CHECK: vcmpnlepd
; CHECK: vblendvpd
%max_is_x = fcmp ogt <2 x double> %x, %y
%max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
ret <2 x double> %max
%min_is_x = fcmp ult <2 x double> %x, %y
%min = select <2 x i1> %min_is_x, <2 x double> %x, <2 x double> %y
ret <2 x double> %min
}