llvm.org GIT mirror llvm / 087499d
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 Elena Demikhovsky 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
0 ; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn| FileCheck %s
11
22 define i32 @isint_return(double %d) nounwind {
33 ; CHECK-NOT: xor
77 %e = sitofp i32 %i to double
88 ; CHECK: cmpeqsd
99 %c = fcmp oeq double %d, %e
10 ; CHECK-NEXT: movq
11 ; CHECK-NEXT: andq
10 ; CHECK-NEXT: movd
11 ; CHECK-NEXT: andl
1212 %z = zext i1 %c to i32
1313 ret i32 %z
1414 }