[LLVMbugs] [Bug 4946] New: tblgen generating insane function in cellspu dag isel

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Sep 10 23:17:33 PDT 2009


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

           Summary: tblgen generating insane function in cellspu dag isel
           Product: tools
           Version: 2.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: TableGen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


In the Select_SPUISD_MUL64_MARKER_i64 function, tblgen is generating a call to
"Emit_201" passing it many many many arguments.  Emit_201 only has one call
site, so it could be inlined into the callee.  It isn't clear what is going on.

Another issue is that we're passing around EVT values by value in dagisel
matcher code, and EVT doesn't qualify to get the default copy ctors, so they
are not passed by value.  This is "bad".


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