[LLVMdev] Implicit def after printf call
Chris Lattner
sabre at nondot.org
Sun Apr 29 15:27:58 PDT 2007
On Sun, 29 Apr 2007, Jeffrey Poznanovic wrote:
> 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]
This looks like a bug. Please file a bugzilla report, including a
self-contained .ll file (one we can do "llvm-as < t.ll | llc" with)
Thanks!
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list