[llvm-commits] [llvm] r150736 - /llvm/trunk/test/CodeGen/X86/uint64-to-float.ll

Bill Wendling isanbard at gmail.com
Thu Feb 16 14:42:48 PST 2012


Author: void
Date: Thu Feb 16 16:42:48 2012
New Revision: 150736

URL: http://llvm.org/viewvc/llvm-project?rev=150736&view=rev
Log:
Use –mcpu=generic, so that the test will not fail when run on an Intel Atom
processor, due to the Atom scheduler producing an instruction sequence that is
different from that which is expected.
Patch by Michael Spencer!

Modified:
    llvm/trunk/test/CodeGen/X86/uint64-to-float.ll

Modified: llvm/trunk/test/CodeGen/X86/uint64-to-float.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/uint64-to-float.ll?rev=150736&r1=150735&r2=150736&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/uint64-to-float.ll (original)
+++ llvm/trunk/test/CodeGen/X86/uint64-to-float.ll Thu Feb 16 16:42:48 2012
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -march=x86-64 | FileCheck %s
 ; Verify that we are using the efficient uitofp --> sitofp lowering illustrated
 ; by the compiler_rt implementation of __floatundisf.
 ; <rdar://problem/8493982>





More information about the llvm-commits mailing list