Add some target triples for better determinism
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:19 +0000 (17:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:19 +0000 (17:22 +0000)
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
test/CodeGen/X86/atom-bypass-slow-division-64.ll

index 60bdf06dfd0300b4eea4cff3931e9ba4dbb4ae22..308980d1ccba7878d79a0840d1eabe8acef465a7 100644 (file)
@@ -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:
index d1b52a4ec3bb2d39acee8029eaff39011b85f291..5980b7907c9fff3ae73dba399b9c929d53616dc1 100644 (file)
@@ -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