We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa17a0e commit 8e2a549Copy full SHA for 8e2a549
mypyc/codegen/emitmodule.py
@@ -260,6 +260,9 @@ def compile_scc_to_ir(
260
# Switch to lower abstraction level IR.
261
lower_ir(fn, compiler_options)
262
# Perform optimizations.
263
+ # once to remove redundant ops
264
+ do_box_unbox_elimination(fn, compiler_options)
265
+ # once to cleanup
266
do_box_unbox_elimination(fn, compiler_options)
267
do_copy_propagation(fn, compiler_options)
268
do_flag_elimination(fn, compiler_options)
0 commit comments