[PowerPC] Fix test to pass on Darwin hosts
authorHal Finkel <hfinkel@anl.gov>
Mon, 5 Jan 2015 23:17:43 +0000 (23:17 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 5 Jan 2015 23:17:43 +0000 (23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225220 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2007-03-24-cntlzd.ll

index bbca76fd087b88de5cc72bcce0d65b7157cb0109..3624b5109301331e727fb97b87eb7fa432445ae0 100644 (file)
@@ -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