[LLVMbugs] [Bug 14454] New: inliner deletes infinite loop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 29 00:45:55 PST 2012


             Bug #: 14454
           Summary: inliner deletes infinite loop
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This testcase:

define i32 @main() {
  %call = call i32 @foo()
  ret i32 undef

define internal i32 @foo() readnone nounwind {
  %call = call i32 @foo()
  ret i32 undef

has an infinite loop. If you run opt -inline over it, we delete the infinite
loop producing a main that terminates.

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