llvm.org GIT mirror llvm / 5778fef
Apply Duncan's test fix from r139986 to the avx version of that test too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139992 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 8 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
9393
9494 ; CHECK: B
9595 define <2 x double> @B(<2 x double> %x, <2 x double> %y) {
96 ; CHECK: vcmpltpd
96 ; CHECK: vcmpnlepd
9797 ; CHECK: vblendvpd
98 %max_is_x = fcmp ogt <2 x double> %x, %y
99 %max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
100 ret <2 x double> %max
98 %min_is_x = fcmp ult <2 x double> %x, %y
99 %min = select <2 x i1> %min_is_x, <2 x double> %x, <2 x double> %y
100 ret <2 x double> %min
101101 }
102102
103103