From: Hal Finkel Date: Tue, 17 Feb 2015 00:11:19 +0000 (+0000) Subject: Specify arch in test/CodeGen/X86/float-conv-elim.ll X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ba3a67430ed9b40b6ae155a44a0f5d731611119;p=oota-llvm.git Specify arch in test/CodeGen/X86/float-conv-elim.ll This test was failing on non-x86 hosts because it specified a cpu of x86_64, but not an architecture. x86_64 is obviously not a valid cpu on all architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229460 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/float-conv-elim.ll b/test/CodeGen/X86/float-conv-elim.ll index 13dde4a799d..3feff851d91 100644 --- a/test/CodeGen/X86/float-conv-elim.ll +++ b/test/CodeGen/X86/float-conv-elim.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=x86-64 < %s | FileCheck %s +; RUN: llc -march=x86-64 -mcpu=x86-64 < %s | FileCheck %s ; Make sure the float conversion is folded away as it should be. ; CHECK-LABEL: foo