aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-18 00:41:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-18 00:41:38 +0000
commit5778fef31425ba1079595235e8b601b76332a589 (patch)
treef4d7a34598fced673c0ab97b07d17d6fbb9bda6f /test
parent6bcd2196e5febb97efe188d0d6de403c577d96fc (diff)
downloadexternal_llvm-5778fef31425ba1079595235e8b601b76332a589.zip
external_llvm-5778fef31425ba1079595235e8b601b76332a589.tar.gz
external_llvm-5778fef31425ba1079595235e8b601b76332a589.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/avx-blend.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/avx-blend.ll b/test/CodeGen/X86/avx-blend.ll
index 7172782..7729491 100644
--- a/test/CodeGen/X86/avx-blend.ll
+++ b/test/CodeGen/X86/avx-blend.ll
@@ -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
}