[llvm] r229460 - Specify arch in test/CodeGen/X86/float-conv-elim.ll

Hal Finkel hfinkel at anl.gov
Mon Feb 16 16:11:19 PST 2015


Author: hfinkel
Date: Mon Feb 16 18:11:19 2015
New Revision: 229460

URL: http://llvm.org/viewvc/llvm-project?rev=229460&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/X86/float-conv-elim.ll

Modified: llvm/trunk/test/CodeGen/X86/float-conv-elim.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/float-conv-elim.ll?rev=229460&r1=229459&r2=229460&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/float-conv-elim.ll (original)
+++ llvm/trunk/test/CodeGen/X86/float-conv-elim.ll Mon Feb 16 18:11:19 2015
@@ -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





More information about the llvm-commits mailing list