Phase 183 Implementation: - Added is_var_used_in_condition() helper for AST variable detection - Implemented LoopBodyLocal filtering in TrimLoopLowerer - Created 4 test files for P1/P2 patterns - Added 5 unit tests for variable detection Test Fixes: - Fixed test_is_outer_scope_variable_pinned (BasicBlockId import) - Fixed test_pattern2_accepts_loop_param_only (literal node usage) Refactoring: - Unified pattern detection documentation - Consolidated CarrierInfo initialization - Documented LoopScopeShape construction paths 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
440 B
Rust
14 lines
440 B
Rust
// Legacy boundary cases (pre-JoinIR). Disable by default.
|
|
#[cfg(feature = "legacy-tests")]
|
|
#[path = "../vtable_map_boundaries.rs"]
|
|
pub mod vtable_map_boundaries;
|
|
#[path = "../vtable_map_ext.rs"]
|
|
pub mod vtable_map_ext;
|
|
#[path = "../vtable_strict.rs"]
|
|
pub mod vtable_strict;
|
|
#[path = "../vtable_string.rs"]
|
|
pub mod vtable_string;
|
|
#[cfg(feature = "legacy-tests")]
|
|
#[path = "../vtable_string_boundaries.rs"]
|
|
pub mod vtable_string_boundaries;
|