lean4-htt/src/library/compiler
Cameron Zwarich 2929d547dc
fix: make the lcnf expr cache depend on the value of root, not just… (#8156)
This PR fixes a bug where the old compiler's lcnf conversion expr cache
was not including all of the relevant information in the key, leading to
terms inadvertently being erased. The `root` variable is used to
determine whether lambda arguments to applications should get let
bindings or not, which in turn affects later decisions about type
erasure (erase_irrelevant assumes that any non-atomic argument is
irrelevant).
2025-04-29 00:37:52 +00:00
..
borrowed_annotation.cpp
borrowed_annotation.h
closed_term_cache.cpp
closed_term_cache.h
CMakeLists.txt fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
compiler.cpp
compiler.h
cse.cpp fix: properly handle scoping of join point candidates in cce (#7398) 2025-03-08 18:10:41 +00:00
cse.h
csimp.cpp
csimp.h
eager_lambda_lifting.cpp
eager_lambda_lifting.h
elim_dead_let.cpp
elim_dead_let.h
erase_irrelevant.cpp fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
erase_irrelevant.h
export_attribute.cpp
export_attribute.h
extern_attribute.cpp
extern_attribute.h
extract_closed.cpp
extract_closed.h
find_jp.cpp
find_jp.h
implemented_by_attribute.cpp
implemented_by_attribute.h
init_attribute.cpp
init_attribute.h
init_module.cpp
init_module.h
ir.cpp
ir.h
ir_interpreter.cpp chore: fix interpreter lean_assert 2025-03-21 09:38:50 +01:00
ir_interpreter.h
lambda_lifting.cpp
lambda_lifting.h
lcnf.cpp fix: make the lcnf expr cache depend on the value of root, not just… (#8156) 2025-04-29 00:37:52 +00:00
lcnf.h
ll_infer_type.cpp
ll_infer_type.h
llnf.cpp
llnf.h
llvm.cpp feat: LLVM 15 -> 19 (#6063) 2025-04-21 17:18:18 +00:00
noncomputable_attribute.cpp fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
noncomputable_attribute.h fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
reduce_arity.cpp
reduce_arity.h
simp_app_args.cpp
simp_app_args.h
specialize.cpp
specialize.h
struct_cases_on.cpp
struct_cases_on.h
util.cpp
util.h