[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 14454] New: inliner deletes infinite loop
From:       bugzilla-daemon () llvm ! org
Date:       2012-11-29 8:45:55
Message-ID: bug-14454-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

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

             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@nondot.org
        ReportedBy: nlewycky@google.com
                CC: chandlerc@gmail.com, llvmbugs@cs.uiuc.edu
    Classification: Unclassified


This testcase:

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

define internal i32 @foo() readnone nounwind {
entry:
  %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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic