summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bozier <seifsta@gmail.com>2017-02-28 17:25:38 +0000
committerDavid Bozier <seifsta@gmail.com>2017-02-28 17:25:38 +0000
commit3246aecb42c2b4ec45b7192d1ba8ecb763b05a6a (patch)
tree1e3de97ea69e14b7866b336e8bbdf3420b19b99b
parent282e8e4a726599257ae88a1a03b6444db8067dbb (diff)
downloadbcm5719-llvm-3246aecb42c2b4ec45b7192d1ba8ecb763b05a6a.tar.gz
bcm5719-llvm-3246aecb42c2b4ec45b7192d1ba8ecb763b05a6a.zip
Fix issue with test case. Make test x86_64 specific
llvm-svn: 296492
-rw-r--r--llvm/test/CodeGen/X86/stack-protector-remarks.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/stack-protector-remarks.ll b/llvm/test/CodeGen/X86/stack-protector-remarks.ll
index a86976ddb32..f5e34c43462 100644
--- a/llvm/test/CodeGen/X86/stack-protector-remarks.ll
+++ b/llvm/test/CodeGen/X86/stack-protector-remarks.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s -pass-remarks=stack-protector -o /dev/null 2>&1 | FileCheck %s
+; RUN: llc %s -mtriple=x86_64-unknown-unknown -pass-remarks=stack-protector -o /dev/null 2>&1 | FileCheck %s
; CHECK-NOT: nossp
; CHECK: function attribute_ssp
; CHECK-SAME: a function attribute or command-line switch
@@ -27,7 +27,7 @@
; CHECK-SAME: a call to alloca or use of a variable length array
; Check that no remark is emitted when the switch is not specified.
-; RUN: llc %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=NOREMARK -allow-empty
+; RUN: llc %s -mtriple=x86_64-unknown-unknown -o /dev/null 2>&1 | FileCheck %s -check-prefix=NOREMARK -allow-empty
; NOREMARK-NOT: ssp
define void @nossp() ssp {
OpenPOWER on IntegriCloud