From 1d3863fdbcc37f98d72408b59f6aef3243f36d7f Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Mon, 31 Mar 2008 23:20:09 +0000 Subject: Mark functions in some tests as 'nounwind'. Generating EH info for these functions causes the tests to fail for random reasons (e.g. looking for 'or' or counting lines with asm-printer; labels count as lines.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49003 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2006-03-02-InstrSchedBug.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGen/X86/2006-03-02-InstrSchedBug.ll') diff --git a/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll b/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll index 96a6ca3884..6da71171e5 100644 --- a/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll +++ b/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llc -march=x86 -stats |& \ ; RUN: grep asm-printer | grep 7 -define i32 @g(i32 %a, i32 %b) { +define i32 @g(i32 %a, i32 %b) nounwind { %tmp.1 = shl i32 %b, 1 ; [#uses=1] %tmp.3 = add i32 %tmp.1, %a ; [#uses=1] %tmp.5 = mul i32 %tmp.3, %a ; [#uses=1] -- cgit v1.2.3