diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-09-15 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-09-15 18:48:29 +0200 |
| commit | c39d7599a3a346a571056d3d02081cccc8e62d7f (patch) | |
| tree | bcd2ef58abfeb3630577cb2bd2f7e2496022e2b5 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 2c7bc5e33c25e29058cbafefe680da8d5e9220e9 (diff) | |
| download | rust-c39d7599a3a346a571056d3d02081cccc8e62d7f.tar.gz rust-c39d7599a3a346a571056d3d02081cccc8e62d7f.zip | |
Disable RemoveZsts in generators to avoid query cycles
Querying layout of a generator requires its optimized MIR. Thus computing layout during MIR optimization of a generator might create a query cycle. Disable RemoveZsts in generators to avoid the issue (similar approach is used in ConstProp transform already).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
