Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIR cleanups and predecessor cache #34149

Merged
merged 9 commits into from
Jun 9, 2016

Commits on Jun 9, 2016

  1. merge the RemoveDeadBlocks pass into the SimplifyCfg pass

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    e9003c5 View commit details
    Browse the repository at this point in the history
  2. introduce the type-safe IdxVec and use it instead of loose indexes

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    bc1eb67 View commit details
    Browse the repository at this point in the history
  3. make the basic_blocks field private

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    e3af9fa View commit details
    Browse the repository at this point in the history
  4. add a cache for MIR predecessors

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    6405527 View commit details
    Browse the repository at this point in the history
  5. introduce an unreachable terminator

    Use it instead of a `panic` for inexhaustive matches and correct the
    comment. I think we trust our match-generation algorithm enough to
    generate these blocks, and not generating an `unreachable` means that
    LLVM won't optimize `match void() {}` to an `unreachable`.
    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    798be90 View commit details
    Browse the repository at this point in the history
  6. add hook infrastructure for automatically dumping MIR on every pass

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    2ee00e6 View commit details
    Browse the repository at this point in the history
  7. refactor simplify_cfg and split off simplify_branches

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    065a264 View commit details
    Browse the repository at this point in the history
  8. use the type name as the pass name

    arielb1 authored and Ariel Ben-Yehuda committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    f5b1ba6 View commit details
    Browse the repository at this point in the history
  9. fix issues

    Ariel Ben-Yehuda authored and arielb1 committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    ce4fdef View commit details
    Browse the repository at this point in the history