From: Bill Wendling Date: Thu, 16 Feb 2012 22:42:48 +0000 (+0000) Subject: Use –mcpu=generic, so that the test will not fail when run on an Intel Atom X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5b0e7886f3554e8dfa746762c3d212c08a552470;p=oota-llvm.git 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 --- diff --git a/test/CodeGen/X86/uint64-to-float.ll b/test/CodeGen/X86/uint64-to-float.ll index d9f753c7a88..e853e7717f1 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. ;