From 087499df4cb37b0244b7c9f63c84a2e674b2e70e Mon Sep 17 00:00:00 2001 From: Elena Demikhovsky Date: Mon, 16 Dec 2013 14:24:08 +0000 Subject: [PATCH] Fixed the test - added -mcpu=penryn flag to avoid ambiguity in code generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197385 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/isint.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/isint.ll b/test/CodeGen/X86/isint.ll index ce3f1357848..792b8c69db4 100644 --- a/test/CodeGen/X86/isint.ll +++ b/test/CodeGen/X86/isint.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s +; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn| FileCheck %s define i32 @isint_return(double %d) nounwind { ; CHECK-NOT: xor @@ -8,8 +8,8 @@ define i32 @isint_return(double %d) nounwind { %e = sitofp i32 %i to double ; CHECK: cmpeqsd %c = fcmp oeq double %d, %e -; CHECK-NEXT: movq -; CHECK-NEXT: andq +; CHECK-NEXT: movd +; CHECK-NEXT: andl %z = zext i1 %c to i32 ret i32 %z }