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

             Bug #: 11692
           Summary: An alloca that is never used for anything but updating
                    itself is not optimized away
           Product: new-bugs
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: code-quality
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7829
  --> http://llvm.org/bugs/attachment.cgi?id=7829
example showing the behaviour

An alloca that is never used for anything but updating itself is not optimized
away in the attached example. This depends on the size of the array. When I
tested it then it was optimized away if the size of the array was <= 21 and not
optimized away otherwise.

-- 
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
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to