about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-09-15 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-09-15 18:48:29 +0200
commitc39d7599a3a346a571056d3d02081cccc8e62d7f (patch)
treebcd2ef58abfeb3630577cb2bd2f7e2496022e2b5 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent2c7bc5e33c25e29058cbafefe680da8d5e9220e9 (diff)
downloadrust-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