From 29ec7479a1a43b461bc3baea404a656cb2e61c98 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 4 Aug 2014 14:55:26 +0000 Subject: [PATCH] [PowerPC] Add target triple to vec_urem_const.ll test case This should hopefully fix build bots on other architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214721 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/vec_urem_const.ll | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/CodeGen/PowerPC/vec_urem_const.ll b/test/CodeGen/PowerPC/vec_urem_const.ll index a562c3bb359..814a826aae8 100644 --- a/test/CodeGen/PowerPC/vec_urem_const.ll +++ b/test/CodeGen/PowerPC/vec_urem_const.ll @@ -1,5 +1,8 @@ ; RUN: llc -mcpu=pwr6 -mattr=+altivec < %s +target datalayout = "e-m:e-i64:64-n32:64" +target triple = "powerpc64le-unknown-linux-gnu" + ; Common code used to replace the urem by a mulhu, and compilation would ; then crash since mulhu isn't supported on vector types.