[llvm] r225220 - [PowerPC] Fix test to pass on Darwin hosts
Hal Finkel
hfinkel at anl.gov
Mon Jan 5 15:17:43 PST 2015
Author: hfinkel
Date: Mon Jan 5 17:17:43 2015
New Revision: 225220
URL: http://llvm.org/viewvc/llvm-project?rev=225220&view=rev
Log:
[PowerPC] Fix test to pass on Darwin hosts
Modified:
llvm/trunk/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll?rev=225220&r1=225219&r2=225220&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll Mon Jan 5 17:17:43 2015
@@ -1,4 +1,6 @@
-; RUN: llc < %s -march=ppc64 -mcpu=g5 | FileCheck %s
+; RUN: llc -mcpu=g5 < %s | FileCheck %s
+target datalayout = "E-m:e-i64:64-n32:64"
+target triple = "powerpc64-unknown-linux-gnu"
define i32 @_ZNK4llvm5APInt17countLeadingZerosEv(i64 *%t) nounwind {
%tmp19 = load i64* %t
More information about the llvm-commits
mailing list