From: David Bozier Date: Tue, 28 Feb 2017 17:25:38 +0000 (+0000) Subject: Fix issue with test case. Make test x86_64 specific X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a786b77c39667851275f86f8fdd2aee362add2ff;p=llvm Fix issue with test case. Make test x86_64 specific git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296492 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/stack-protector-remarks.ll b/test/CodeGen/X86/stack-protector-remarks.ll index a86976ddb32..f5e34c43462 100644 --- a/test/CodeGen/X86/stack-protector-remarks.ll +++ b/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 {