Skip to content

Apply PTAC naming simplification and preserve CodPTACParityRunner exception#85

Merged
DanexCodr merged 9 commits into
mainfrom
copilot/add-loop-optimization-logic
Apr 11, 2026
Merged

Apply PTAC naming simplification and preserve CodPTACParityRunner exception#85
DanexCodr merged 9 commits into
mainfrom
copilot/add-loop-optimization-logic

Conversation

Copilot AI commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

This PR aligns PTAC-related naming with the requested cleanup: typo fix to PatternHandler, removal of CodPTAC from PTAC class names, and simplification of optimizer class names in cod.ptac.opt by removing Lazy, Optional, and Pass. Per follow-up clarification, CodPTACParityRunner is explicitly preserved with its CodPTAC prefix.

  • Interpreter handler rename

    • PattrrnHandlerPatternHandler
    • Updated all dependent references (InterpreterVisitor, LoopOptimizationHandler, nested types/usages).
  • PTAC core naming cleanup

    • Removed CodPTAC prefix from PTAC classes (except the runner exception), including enums/interfaces/value types and orchestration classes.
    • Updated corresponding file names and all imports/usages.
  • cod.ptac.opt class simplification

    • CodPTACOptimizationPassOptimization
    • CodPTACConstantFoldingPassConstantFolding
    • CodPTACLazyRangePropagationPassRangePropagation
    • CodPTACOptionalPatternLoweringPassPatternLowering
    • CodPTACDeadTempEliminationPassDeadTempElimination
    • CodPTACPatternFusionPassPatternFusion
  • Runner exception handling

    • Restored and kept CodPTACParityRunner class/file name as requested.
// before
public final class CodPTACLazyRangePropagationPass implements CodPTACOptimizationPass { ... }

// after
public final class RangePropagation implements Optimization { ... }

Copilot AI and others added 9 commits April 10, 2026 22:56
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/047028e4-d3b7-4a83-9cf4-14625a476131

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/047028e4-d3b7-4a83-9cf4-14625a476131

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/8959a632-fdda-4ee2-aeef-8fde6373ac04

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/8959a632-fdda-4ee2-aeef-8fde6373ac04

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/829383f3-ec5d-4b89-883f-26c87e912a21

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/a3f306c2-e83d-4743-925f-966729ea845c

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/a3f306c2-e83d-4743-925f-966729ea845c

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
@DanexCodr DanexCodr marked this pull request as ready for review April 11, 2026 04:33
@DanexCodr DanexCodr merged commit 7439856 into main Apr 11, 2026
@DanexCodr DanexCodr deleted the copilot/add-loop-optimization-logic branch April 11, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants