[llvm-commits] [llvm] r82637 - /llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll

Evan Cheng evan.cheng at apple.com
Wed Sep 23 11:20:27 PDT 2009


Author: evancheng
Date: Wed Sep 23 13:20:27 2009
New Revision: 82637

URL: http://llvm.org/viewvc/llvm-project?rev=82637&view=rev
Log:
Add nounwind.

Modified:
    llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll

Modified: llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll?rev=82637&r1=82636&r2=82637&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll Wed Sep 23 13:20:27 2009
@@ -7,7 +7,7 @@
 	%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]





More information about the llvm-commits mailing list