Specify arch in test/CodeGen/X86/float-conv-elim.ll
authorHal Finkel <hfinkel@anl.gov>
Tue, 17 Feb 2015 00:11:19 +0000 (00:11 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 17 Feb 2015 00:11:19 +0000 (00:11 +0000)
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

test/CodeGen/X86/float-conv-elim.ll

index 13dde4a799ddf18903a433f3be603ad7b2c8333b..3feff851d91a2e9f18b949660cb7c3e54683470e 100644 (file)
@@ -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