[x32] Fix FrameIndex check in SelectLEA64_32Addr
[oota-llvm.git] / test / CodeGen / X86 / pr9127.ll
index 45b0c6c78706c6662fd492d8b7cc0181283c193d..ba92c77e22bd3fd5bfa0e998f02cbcfd7681941a 100644 (file)
@@ -1,4 +1,5 @@
-; 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:
@@ -9,4 +10,4 @@ entry:
 }
 
 ; test that the load is folded.
-; CHECK: ucomisd       (%rdi), %xmm0
+; CHECK: cmpeqsd       (%{{rdi|rdx}}), %xmm0