[LLVMbugs] [Bug 21225] New: missed optimization: rauw of a function with an identical one
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Oct  9 06:30:53 PDT 2014
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=21225
            Bug ID: 21225
           Summary: missed optimization: rauw of a function with an
                    identical one
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified
opt -O3 will not modify
declare void @bar()
define linkonce_odr void @foo() unnamed_addr {
  call void @bar()
  ret void
}
@v = global void()* @foo
but it could change it to
declare void @bar()
@v = global void()* @bar
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141009/f91d98d6/attachment.html>
    
    
More information about the llvm-bugs
mailing list