summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2013-12-16 14:24:08 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2013-12-16 14:24:08 +0000
commite8323a88ea252a0b16f2d54a129cfc8ac7ab744c (patch)
tree70e9519d97266ad408389cdb0cb4b1eee7f67afc
parent47fc44e52e8e7bad1b901bfae4dc78dec048d5f1 (diff)
downloadbcm5719-llvm-e8323a88ea252a0b16f2d54a129cfc8ac7ab744c.tar.gz
bcm5719-llvm-e8323a88ea252a0b16f2d54a129cfc8ac7ab744c.zip
Fixed the test - added -mcpu=penryn flag to avoid ambiguity in code generation.
llvm-svn: 197385
-rw-r--r--llvm/test/CodeGen/X86/isint.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/isint.ll b/llvm/test/CodeGen/X86/isint.ll
index ce3f1357848..792b8c69db4 100644
--- a/llvm/test/CodeGen/X86/isint.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud