From d37914a662fcdff87ec44f3bcaf27155a6962be5 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Wed, 25 Feb 2015 01:26:59 +0000 Subject: [PATCH] [PowerPC] Add triples to QPX tests Some of these tests fail on Darwin systems because of a lack of a triple; fix that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230421 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/qpx-func-clobber.ll | 1 + test/CodeGen/PowerPC/qpx-load.ll | 1 + test/CodeGen/PowerPC/qpx-s-load.ll | 1 + test/CodeGen/PowerPC/qpx-s-sel.ll | 1 + test/CodeGen/PowerPC/qpx-s-store.ll | 1 + test/CodeGen/PowerPC/qpx-sel.ll | 1 + test/CodeGen/PowerPC/qpx-store.ll | 1 + 7 files changed, 7 insertions(+) diff --git a/test/CodeGen/PowerPC/qpx-func-clobber.ll b/test/CodeGen/PowerPC/qpx-func-clobber.ll index c1b808aa7c4..511fa3827b0 100644 --- a/test/CodeGen/PowerPC/qpx-func-clobber.ll +++ b/test/CodeGen/PowerPC/qpx-func-clobber.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" declare <4 x double> @foo(<4 x double> %p) diff --git a/test/CodeGen/PowerPC/qpx-load.ll b/test/CodeGen/PowerPC/qpx-load.ll index 2eb29081e26..bea34774b34 100644 --- a/test/CodeGen/PowerPC/qpx-load.ll +++ b/test/CodeGen/PowerPC/qpx-load.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" define <4 x double> @foo(<4 x double>* %p) { entry: diff --git a/test/CodeGen/PowerPC/qpx-s-load.ll b/test/CodeGen/PowerPC/qpx-s-load.ll index 8dfab1385dd..1ca0ae6cfa6 100644 --- a/test/CodeGen/PowerPC/qpx-s-load.ll +++ b/test/CodeGen/PowerPC/qpx-s-load.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" define <4 x float> @foo(<4 x float>* %p) { entry: diff --git a/test/CodeGen/PowerPC/qpx-s-sel.ll b/test/CodeGen/PowerPC/qpx-s-sel.ll index 008efea5da4..e3a2dd940a7 100644 --- a/test/CodeGen/PowerPC/qpx-s-sel.ll +++ b/test/CodeGen/PowerPC/qpx-s-sel.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" @Q = constant <4 x i1> , align 16 @R = global <4 x i1> , align 16 diff --git a/test/CodeGen/PowerPC/qpx-s-store.ll b/test/CodeGen/PowerPC/qpx-s-store.ll index d2ca45814da..0bd6201f767 100644 --- a/test/CodeGen/PowerPC/qpx-s-store.ll +++ b/test/CodeGen/PowerPC/qpx-s-store.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" define void @foo(<4 x float> %v, <4 x float>* %p) { entry: diff --git a/test/CodeGen/PowerPC/qpx-sel.ll b/test/CodeGen/PowerPC/qpx-sel.ll index 15ae57352c3..68227355b7a 100644 --- a/test/CodeGen/PowerPC/qpx-sel.ll +++ b/test/CodeGen/PowerPC/qpx-sel.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" @Q = constant <4 x i1> , align 16 @R = global <4 x i1> , align 16 diff --git a/test/CodeGen/PowerPC/qpx-store.ll b/test/CodeGen/PowerPC/qpx-store.ll index c29cc225b05..2579d2c681c 100644 --- a/test/CodeGen/PowerPC/qpx-store.ll +++ b/test/CodeGen/PowerPC/qpx-store.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s +target triple = "powerpc64-bgq-linux" define void @foo(<4 x double> %v, <4 x double>* %p) { entry: -- 2.11.0