about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-22 16:59:23 +0000
committerbors <bors@rust-lang.org>2023-07-22 16:59:23 +0000
commitc39995485f57083873682ff4032ea1ebb8f51ae9 (patch)
tree90e3e6f683611c9c8cc443d73ac3a4f83855a213 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentab0f3e680e4fd50218914b8afa6900a67377721c (diff)
parentb6cd7006e075e364d1bc325cf9eba4882da92bc6 (diff)
downloadrust-c39995485f57083873682ff4032ea1ebb8f51ae9.tar.gz
rust-c39995485f57083873682ff4032ea1ebb8f51ae9.zip
Auto merge of #113853 - cjgillot:split-validator, r=compiler-errors
Reuse the MIR validator for MIR inlining

Instead of having the inliner home-cook its own validation, we just check that the substituted MIR body passes the regular validation.

The MIR validation is first split in two: control flow validation (MIR syntax and CFG invariants) and type validation (subtyping relationship in assignments and projections). Only the latter can be affected by instantiating type parameters.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions