lean4-htt/src/Lean/Compiler
Henrik Böving d88e417cda
refactor: tame down dead let eliminator in lambda RC (#10626)
This PR reduces the aggressiveness of the dead let eliminator from
lambda RC.

The motivation for this is that all other passes in lambda RC respect
impurity but the dead let eliminator still operates under the assumption
of purity. There is a couple of motivations for the elim dead let
elaborator:
- unused projections introduced by the ToIR translation
- the elim dead branch pass introducing new opportunities
- closed term extraction introducing new opportunities
2025-09-30 19:51:16 +00:00
..
IR refactor: tame down dead let eliminator in lambda RC (#10626) 2025-09-30 19:51:16 +00:00
LCNF feat: consistent type ABI regardless of transparency (#10610) 2025-09-29 13:31:41 +00:00
BorrowedAnnotation.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ClosedTermCache.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CSimpAttr.lean fix: make csimp equivalence criteria more strict (#10214) 2025-09-02 14:36:08 +00:00
ExportAttr.lean perf: implement jumping to native [export] decls in the interpreter (#10345) 2025-09-11 11:41:16 +00:00
ExternAttr.lean chore: remove syntax for extern arity specifications (#9556) 2025-07-26 00:44:36 +00:00
FFI.lean chore: reorganize Init imports around strings (#10289) 2025-09-07 17:09:14 +00:00
ImplementedByAttr.lean chore: use ofConstName in error messages (#10121) 2025-08-25 23:20:36 +00:00
InitAttr.lean feat: overhaul meta system (#10362) 2025-09-17 21:04:29 +00:00
InlineAttrs.lean chore: error messages consistency (#10143) 2025-08-26 17:55:43 +00:00
IR.lean perf: disable reuse when a value's last use is an owned argument (#10017) 2025-08-21 00:41:56 +00:00
LCNF.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Main.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
MetaAttr.lean feat: overhaul meta system (#10362) 2025-09-17 21:04:29 +00:00
NameMangling.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
NeverExtractAttr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
NoncomputableAttr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Old.lean refactor: update and consolidate attribute-related error messages (#9495) 2025-07-26 02:03:18 +00:00
Options.lean fix: allow meta decls in #eval (#10545) 2025-09-26 15:10:33 +00:00
Specialize.lean refactor: update and consolidate attribute-related error messages (#9495) 2025-07-26 02:03:18 +00:00