[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / pr9127.ll
index 45b0c6c78706c6662fd492d8b7cc0181283c193d..33f9ace33ff5896796be68153a3d02e66b2115d9 100644 (file)
@@ -1,12 +1,13 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-win32 < %s | FileCheck %s
 
 define i8 @foobar(double %d, double* %x) {
 entry:
-  %tmp2 = load double* %x, align 8
+  %tmp2 = load double, double* %x, align 8
   %cmp = fcmp oeq double %tmp2, %d
   %conv3 = zext i1 %cmp to i8
   ret i8 %conv3
 }
 
 ; test that the load is folded.
-; CHECK: ucomisd       (%rdi), %xmm0
+; CHECK: cmpeqsd       (%{{rdi|rdx}}), %xmm0