OSDN Git Service

Use –mcpu=generic, so that the test will not fail when run on an Intel Atom
authorBill Wendling <isanbard@gmail.com>
Thu, 16 Feb 2012 22:42:48 +0000 (22:42 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 16 Feb 2012 22:42:48 +0000 (22:42 +0000)
processor, due to the Atom scheduler producing an instruction sequence that is
different from that which is expected.
Patch by Michael Spencer!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150736 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/uint64-to-float.ll

index d9f753c..e853e77 100644 (file)
@@ -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>