rust/compiler/rustc_mir/src
Tomasz Miąsko 6c51ec96bb inliner: Avoid query cycles when optimizing generators
The HIR Id trick is insufficient to prevent query cycles when optimizing
generators, since merely requesting a layout of a generator also
computes its `optimized_mir`.

Make no attempts to inline functions into generators within the same
crate to avoid query cycles.
2020-09-02 00:00:00 +00:00
..
borrow_check mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
const_eval mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
dataflow mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
interpret mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
monomorphize Rollup merge of #76002 - richkadel:llvm-coverage-map-gen-6b.3, r=tmandry 2020-08-31 19:18:14 -07:00
transform inliner: Avoid query cycles when optimizing generators 2020-09-02 00:00:00 +00:00
util Add new -Z dump-mir-spanview option 2020-08-31 22:57:55 -07:00
lib.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
shim.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00