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

           Summary: duplicate "extractvalue" not eliminated
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

Reply via email to