summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-23 18:20:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-23 18:20:27 +0000
commit79997912a7ad36083f7543cfc41387671ec4c1fa (patch)
tree1e1f7517c19385d95d9ce7f87cfb24a38f31984e /test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
parent2e3f2c48d87b95f854c5bc40c5077177565a5653 (diff)
downloadllvm-79997912a7ad36083f7543cfc41387671ec4c1fa.tar.gz
llvm-79997912a7ad36083f7543cfc41387671ec4c1fa.tar.bz2
llvm-79997912a7ad36083f7543cfc41387671ec4c1fa.tar.xz
Add nounwind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll')
-rw-r--r--test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll b/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
index 5590488a38..9f09e88664 100644
--- a/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
+++ b/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
@@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu"
%struct.bc_struct = type { i32, i32, i32, i32, %struct.bc_struct*, i8*, i8* }
@_programStartTime = external global %struct.CycleCount ; <%struct.CycleCount*> [#uses=1]
-define fastcc i32 @bc_divide(%struct.bc_struct* %n1, %struct.bc_struct* %n2, %struct.bc_struct** %quot, i32 %scale) {
+define fastcc i32 @bc_divide(%struct.bc_struct* %n1, %struct.bc_struct* %n2, %struct.bc_struct** %quot, i32 %scale) nounwind {
entry:
%tmp7.i46 = tail call i64 asm sideeffect ".byte 0x0f,0x31", "={dx},=*{ax},~{dirflag},~{fpsr},~{flags}"( i64* getelementptr (%struct.CycleCount* @_programStartTime, i32 0, i32 1) ) ; <i64> [#uses=0]
%tmp221 = sdiv i32 10, 0 ; <i32> [#uses=1]