[llvm] r296492 - Fix issue with test case. Make test x86_64 specific
David Bozier via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 09:25:38 PST 2017
Author: davidb
Date: Tue Feb 28 11:25:38 2017
New Revision: 296492
URL: http://llvm.org/viewvc/llvm-project?rev=296492&view=rev
Log:
Fix issue with test case. Make test x86_64 specific
Modified:
llvm/trunk/test/CodeGen/X86/stack-protector-remarks.ll
Modified: llvm/trunk/test/CodeGen/X86/stack-protector-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stack-protector-remarks.ll?rev=296492&r1=296491&r2=296492&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/stack-protector-remarks.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stack-protector-remarks.ll Tue Feb 28 11:25:38 2017
@@ -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 {
More information about the llvm-commits
mailing list