[llvm-commits] [llvm] r139992 - /llvm/trunk/test/CodeGen/X86/avx-blend.ll
Benjamin Kramer
benny.kra at googlemail.com
Sat Sep 17 17:41:38 PDT 2011
Author: d0k
Date: Sat Sep 17 19:41:38 2011
New Revision: 139992
URL: http://llvm.org/viewvc/llvm-project?rev=139992&view=rev
Log:
Apply Duncan's test fix from r139986 to the avx version of that test too.
Modified:
llvm/trunk/test/CodeGen/X86/avx-blend.ll
Modified: llvm/trunk/test/CodeGen/X86/avx-blend.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx-blend.ll?rev=139992&r1=139991&r2=139992&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx-blend.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx-blend.ll Sat Sep 17 19:41:38 2011
@@ -94,11 +94,11 @@
; 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
}
More information about the llvm-commits
mailing list