[LLVMbugs] [Bug 11692] New: An alloca that is never used for anything but updating itself is not optimized away

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 2 14:02:54 PST 2012


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: unassignedbugs at nondot.org
        ReportedBy: nodam at otinn.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list