search for: bgotusr1sign

Displaying 1 result from an estimated 1 matches for "bgotusr1sign".

Did you mean: bgotusr1signal
2007 Apr 29
1
[LLVMdev] Implicit def after printf call
...tion." Here are the relevant llvm instructions from my testcase (which look correct): %r3844 = call i32 (i8*, ...)* @printf( i8* getelementptr (i8* bitcast ([663 x i64]* @"initialized$$$CFE_id_786aaaf0_08b61fc9" to i8*), i64 1512)); %r3858 = volatile load i32* bitcast ([1 x i64]* @bGotUsr1Signal to i32*); %r3859 = icmp eq i32 %r3858, 0 ; <i1> [#uses=1] Here's the x86-64 ASM code that gets generated (which doesn't look correct): ... call (printf) #IMPLICIT_DEF %eax testl %eax, %eax Wouldn't the call to printf clobber EAX's contents before its use? Co...