summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/uint64-to-float.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-02-16 22:42:48 +0000
committerBill Wendling <isanbard@gmail.com>2012-02-16 22:42:48 +0000
commit5b0e7886f3554e8dfa746762c3d212c08a552470 (patch)
tree5e28bf32889dfe6639d568ca3851c5d6dfe02335 /test/CodeGen/X86/uint64-to-float.ll
parent331888460b03159cddc85c5d90337689007c23aa (diff)
downloadllvm-5b0e7886f3554e8dfa746762c3d212c08a552470.tar.gz
llvm-5b0e7886f3554e8dfa746762c3d212c08a552470.tar.bz2
llvm-5b0e7886f3554e8dfa746762c3d212c08a552470.tar.xz
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/uint64-to-float.ll')
-rw-r--r--test/CodeGen/X86/uint64-to-float.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/uint64-to-float.ll b/test/CodeGen/X86/uint64-to-float.ll
index d9f753c7a8..e853e7717f 100644
--- a/test/CodeGen/X86/uint64-to-float.ll
+++ b/test/CodeGen/X86/uint64-to-float.ll
@@ -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>