Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Add a Rust NullCheckElimination pass #13

Closed
wants to merge 2 commits into from
Closed

Add a Rust NullCheckElimination pass #13

wants to merge 2 commits into from

Commits on Jun 28, 2014

  1. Add a NullCheckElimination pass

    This pass is not Rust-specific, in that all of its transformations are
    intended to be correct for arbitrary LLVM IR, but it targets idioms
    found in IR generated by `rustc`, e.g. heavy use of `inbounds` GEPs.
    Cameron Zwarich committed Jun 28, 2014
    2 Configuration menu
    Copy the full SHA
    dd684dc View commit details
    Browse the repository at this point in the history
  2. Add the NullCheckElimination pass to the default pass list

    Since the NullCheckElimination pass has a similar intent to the
    CorrelatedValuePropagation pass, I decided to run it right after the
    both places that the latter runs.
    Cameron Zwarich committed Jun 28, 2014
    Configuration menu
    Copy the full SHA
    0876764 View commit details
    Browse the repository at this point in the history