aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-28 17:10:36 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-28 17:10:36 +0000
commitc2ec02c1833f00a3b3996d381f7ad5d41f6c47c9 (patch)
treedb9487b9bb5d05b92cf44b608dea81e6ea9437e1
parent2d0f53bd6348be3b28ffa53c37e3079bb33dd170 (diff)
Add target triple info to these tests to make the results comparable when
hosted on different platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114965 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/DebugInfo/2009-10-16-Scope.ll3
-rw-r--r--test/DebugInfo/2010-08-04-StackVariable.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/DebugInfo/2009-10-16-Scope.ll b/test/DebugInfo/2009-10-16-Scope.ll
index 9f9fa65d5b..037294fc63 100644
--- a/test/DebugInfo/2009-10-16-Scope.ll
+++ b/test/DebugInfo/2009-10-16-Scope.ll
@@ -1,4 +1,5 @@
-; RUN: llc %s -O0 -o /dev/null
+; RUN: llc %s -O0 -o /dev/null -mtriple=x86_64-apple-darwin
+; RUN: llc %s -O0 -o /dev/null -mtriple=arm-apple-darwin
; PR 5197
; There is not any llvm instruction assocated with !5. The code generator
; should be able to handle this.
diff --git a/test/DebugInfo/2010-08-04-StackVariable.ll b/test/DebugInfo/2010-08-04-StackVariable.ll
index 61cd20bb1a..c35c3d36d2 100644
--- a/test/DebugInfo/2010-08-04-StackVariable.ll
+++ b/test/DebugInfo/2010-08-04-StackVariable.ll
@@ -1,4 +1,5 @@
-; RUN: llc -O0 < %s | grep DW_OP_fbreg
+; RUN: llc -O0 -mtriple=arm-apple-darwin < %s | grep DW_OP_fbreg
+; RUN: llc -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_fbreg
; Use DW_OP_fbreg in variable's location expression if the variable is in a stack slot.
%struct.SVal = type { i8*, i32 }