[llvm] r289737 - [gold] Add datalayout to two tests where it was missing.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 14:53:43 PST 2016
Author: davide
Date: Wed Dec 14 16:53:43 2016
New Revision: 289737
URL: http://llvm.org/viewvc/llvm-project?rev=289737&view=rev
Log:
[gold] Add datalayout to two tests where it was missing.
Reported by: thakis via chromium bots.
Modified:
llvm/trunk/test/tools/gold/PowerPC/mtriple.ll
llvm/trunk/test/tools/gold/X86/stats.ll
Modified: llvm/trunk/test/tools/gold/PowerPC/mtriple.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/PowerPC/mtriple.ll?rev=289737&r1=289736&r2=289737&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/PowerPC/mtriple.ll (original)
+++ llvm/trunk/test/tools/gold/PowerPC/mtriple.ll Wed Dec 14 16:53:43 2016
@@ -8,6 +8,9 @@
; RUN: llvm-readobj --file-headers %t2 | FileCheck --check-prefix=DSO %s
; RUN: llvm-readobj --file-headers %t3.o | FileCheck --check-prefix=REL %s
+target datalayout = "E-m:e-i64:64-n32:64"
+target triple = "powerpc64-unknown-linux-gnu"
+
; REL: Type: Relocatable
; REL-NEXT: Machine: EM_PPC
Modified: llvm/trunk/test/tools/gold/X86/stats.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/stats.ll?rev=289737&r1=289736&r2=289737&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/stats.ll (original)
+++ llvm/trunk/test/tools/gold/X86/stats.ll Wed Dec 14 16:53:43 2016
@@ -5,3 +5,6 @@
; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
; CHECK: Statistics Collected
+
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
More information about the llvm-commits
mailing list