[LLVMbugs] [Bug 1599] New: basic alias analysis claims unknown mod/ ref on empty function

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 4 20:10:45 PDT 2007


           Summary: basic alias analysis claims unknown mod/ref on empty
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Global Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1067)
 --> (http://llvm.org/bugs/attachment.cgi?id=1067)

The attached code has a function g() which does nothing but "return 0".
Function f() calls it in a loop, but LICM can't hoist out the call because the
AA returns UnknownModRefBehavior.

None of -basicaa -globalsmodref-aa nor -anders-aa will do it.

  opt -licm testcase.bc

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