[Lowering] Add an AddressLowering pass.

This commit is contained in:
Andrew Trick
2016-10-28 16:40:41 -07:00
parent 2f4c84b41f
commit 855918c620
18 changed files with 117 additions and 25 deletions

View File

@@ -72,6 +72,13 @@ enum class SILStage {
/// dataflow errors, and some instructions must be canonicalized to simpler
/// forms.
Canonical,
/// \brief Lowered SIL, which has been prepared for IRGen and will no longer
/// be passed to SIL transform passes.
///
/// Lowered SIL requires explicit storage for all address-only and resilient
/// types.
Lowered,
};
/// \brief A SIL module. The SIL module owns all of the SILFunctions generated