tomoaki
d9ff3f60ff
refactor(joinir): Phase 260 P0.1 Step 4 - Extract type_propagation.rs (70 lines)
Extract propagate_value_type_for_inst to dedicated type_propagation module.
Handles type info flow from JoinIR→MIR merge (SSOT + fallback inference).
Changes:
- NEW: rewriter/type_propagation.rs - propagate_value_type_for_inst
- CHANGED: instruction_rewriter.rs - import from type_propagation (deleted local fn)
- CHANGED: rewriter/mod.rs - declare type_propagation module
Design:
- SSOT: Prefer type info from JoinIR source function metadata
- Fallback: Infer from instruction structure (Const/Copy/BinOp/Compare)
- LLVM: Ensures '+' stays numeric (not concat_hh_mixed)
Reduction:
- instruction_rewriter.rs: 1466 → 1396 lines (-70)
Next: Start terminator.rs extraction (Branch/Jump/Return remapping)
2025-12-21 06:11:53 +09:00
..
2025-12-08 23:43:26 +09:00
2025-12-04 13:32:58 +09:00
2025-12-21 05:47:37 +09:00
2025-09-24 14:13:15 +09:00
2025-12-12 23:11:45 +09:00
2025-08-18 20:53:48 +09:00
2025-12-10 00:01:53 +09:00
2025-12-17 01:06:46 +09:00
2025-11-21 06:25:17 +09:00
2025-12-11 20:54:33 +09:00
2025-12-10 00:01:53 +09:00
2025-12-19 17:03:56 +09:00
2025-09-17 07:43:07 +09:00
2025-11-21 06:25:17 +09:00
2025-12-16 07:42:35 +09:00
2025-11-22 05:33:40 +09:00
2025-12-20 03:20:55 +09:00
2025-11-29 12:44:40 +09:00
2025-09-17 07:43:07 +09:00
2025-12-21 06:11:53 +09:00
2025-12-07 23:45:55 +09:00
2025-12-11 20:54:33 +09:00
2025-11-10 23:17:46 +09:00
2025-12-21 05:47:37 +09:00
2025-12-17 04:14:26 +09:00
2025-09-23 02:15:56 +09:00
2025-11-21 06:25:17 +09:00
2025-09-17 07:43:07 +09:00
2025-12-21 04:34:22 +09:00
2025-11-30 14:30:28 +09:00
2025-09-17 07:43:07 +09:00
2025-11-30 14:30:28 +09:00
2025-12-13 01:30:04 +09:00
2025-11-20 03:56:12 +09:00
2025-11-21 06:25:17 +09:00
2025-11-21 06:25:17 +09:00
2025-11-21 06:25:17 +09:00
2025-09-17 07:43:07 +09:00
2025-11-13 18:55:14 +09:00
2025-09-17 07:43:07 +09:00
2025-09-17 07:43:07 +09:00
2025-12-08 23:43:26 +09:00
2025-11-21 06:25:17 +09:00
2025-12-11 20:54:33 +09:00
2025-09-17 07:43:07 +09:00
2025-09-17 07:43:07 +09:00
2025-12-01 11:10:46 +09:00
2025-09-17 07:43:07 +09:00
2025-09-19 12:13:43 +09:00
2025-09-17 07:43:07 +09:00
2025-09-17 07:43:07 +09:00