[LLVMbugs] [Bug 6305] New: Jump threading creates blockaddress of entry block

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 15 02:37:47 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6305

           Summary: Jump threading creates blockaddress of entry block
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


$ opt -jump-threading baddress.ll -disable-output
blockaddress may not be used with the entry block!
label %"17"
Broken module found, compilation aborted!


This is a recent regression.  Testcase reduced from linux kernel module
handling code.

define void @module_add_modinfo_attrs() nounwind {
entry:
  br label %"17"

"17":                                             ; preds = %entry
  call void undef(i64 ptrtoint (i8* blockaddress(@module_add_modinfo_attrs,
%"17") to i64), i8* undef, i64 384, i64 undef, i32 32976) nounwind
  unreachable
}


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list