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

Elena Demikhovsky elena.demikhovsky at intel.com
Mon Dec 16 06:24:08 PST 2013


Author: delena
Date: Mon Dec 16 08:24:08 2013
New Revision: 197385

URL: http://llvm.org/viewvc/llvm-project?rev=197385&view=rev
Log:
Fixed the test - added -mcpu=penryn flag to avoid ambiguity in code generation.

Modified:
    llvm/trunk/test/CodeGen/X86/isint.ll

Modified: llvm/trunk/test/CodeGen/X86/isint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/isint.ll?rev=197385&r1=197384&r2=197385&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/isint.ll (original)
+++ llvm/trunk/test/CodeGen/X86/isint.ll Mon Dec 16 08:24:08 2013
@@ -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) noun
   %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
 }





More information about the llvm-commits mailing list