Skip to content

LCSSA recomputed too many times #2749

@llvmbot

Description

@llvmbot
Bugzilla Link 2377
Resolution FIXED
Resolved on Feb 11, 2014 19:10
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @chandlerc,@sunfishcode

Extended Description

Because ScalarEvolution is a FunctionPass, it kills the LoopPassManager when it is run. This creates overhead because it require the re-instantiation of the LPM, as well as forcing LCSSA to be recomputed repeatedly. As of right now, we compute LCSSA no less than five times in -std-compile-opts, mostly because of this. If SCEV were a loop pass, this could probably be reduced to one or two.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions