Skip to content

duplicate "extractvalue" not eliminated #3995

@llvmbot

Description

@llvmbot
Bugzilla Link 3623
Resolution FIXED
Resolved on Dec 02, 2010 01:37
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic,@nlewycky

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions