[LLVMbugs] [Bug 3623] New: duplicate "extractvalue" not eliminated

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Feb 19 13:42:49 PST 2009


           Summary: duplicate "extractvalue" not eliminated
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu

In this .ll file:

  define double @zsqr({ double, double } %a) {
    %X = extractvalue { double, double } %a, 0
    %Y = extractvalue { double, double } %a, 0
    %Z = mul double %X, %Y
    ret double %Z

no optimization pass in -std-compile-opts folds %X and %Y.

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