From 1e1954f7496dfa14eab09eef5adcf0991c28fc3b Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 18 Apr 2014 17:22:19 +0000 Subject: [PATCH] Add some target triples for better determinism These tests were failing on some buildbots after r206548 (reverted in r206556), but passing locally. They were missing target triples, so maybe that's the problem? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206621 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/SPARC/2011-01-19-DelaySlot.ll | 1 + test/CodeGen/X86/atom-bypass-slow-division-64.ll | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll b/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll index 60bdf06dfd0..308980d1ccb 100644 --- a/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll +++ b/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll @@ -1,6 +1,7 @@ ;RUN: llc -march=sparc < %s -verify-machineinstrs | FileCheck %s ;RUN: llc -march=sparc -O0 < %s -verify-machineinstrs | FileCheck %s -check-prefix=UNOPT +target triple = "sparc-unknown-linux-gnu" define i32 @test(i32 %a) nounwind { entry: diff --git a/test/CodeGen/X86/atom-bypass-slow-division-64.ll b/test/CodeGen/X86/atom-bypass-slow-division-64.ll index d1b52a4ec3b..5980b7907c9 100644 --- a/test/CodeGen/X86/atom-bypass-slow-division-64.ll +++ b/test/CodeGen/X86/atom-bypass-slow-division-64.ll @@ -1,4 +1,6 @@ -; RUN: llc < %s -mcpu=atom -mtriple=i686-linux -march=x86-64 | FileCheck %s +; RUN: llc < %s -mcpu=atom -march=x86-64 | FileCheck %s + +target triple = "x86_64-unknown-linux-gnu" ; Additional tests for 64-bit divide bypass