[LLVMbugs] [Bug 4638] New: Missing simplification of calls

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 28 06:37:49 PDT 2009


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

           Summary: Missing simplification of calls
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


calling convention code output by the frontend is unnecessary in this case
since the call is internal and should be cleaned up to use less IR (I'm
assuming the unconstrained calling convention on i386 can efficiently handle a
pair of i32).

In the example, BlueRule should just directly return a struct.BlueReturn or
first class struct rather than allocating stackspace, storing, casting, and
loading to get an i64.  (with the matching proccess on the callee to extract
the pair).


-- 
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