Fixed the test - added -mcpu=penryn flag to avoid ambiguity in code generation.

llvm-svn: 197385
This commit is contained in:
Elena Demikhovsky 2013-12-16 14:24:08 +00:00
parent 47fc44e52e
commit e8323a88ea
1 changed files with 3 additions and 3 deletions

View File

@ -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 { define i32 @isint_return(double %d) nounwind {
; CHECK-NOT: xor ; CHECK-NOT: xor
@ -8,8 +8,8 @@ define i32 @isint_return(double %d) nounwind {
%e = sitofp i32 %i to double %e = sitofp i32 %i to double
; CHECK: cmpeqsd ; CHECK: cmpeqsd
%c = fcmp oeq double %d, %e %c = fcmp oeq double %d, %e
; CHECK-NEXT: movq ; CHECK-NEXT: movd
; CHECK-NEXT: andq ; CHECK-NEXT: andl
%z = zext i1 %c to i32 %z = zext i1 %c to i32
ret i32 %z ret i32 %z
} }