Skip to content

Investigate elimination of the -raise pass #1444

@lattner

Description

@lattner
Bugzilla Link 1072
Resolution FIXED
Resolved on Feb 22, 2010 12:47
Version trunk
OS MacOS X

Extended Description

The -raise pass was mainly around to eliminate casts from int -> uint etc through some tricky
transformations. With the recent signless work, this pass should be mostly useless. Eliminating it is good
as it reduces compile time (one fewer pass), eliminates a bunch of ugly code (the raise pass is very nasty),
and potentially eliminating the LLVMTransforms library (ExprTypeConvert.cpp, LevelRaise.cpp, and
TransformInternals.cpp).

We should do performance analysis (e.g. spec2k and 2k6) to see whether this is completely dead, and if
not, reimplement the useful pieces in other passes.

-Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions