compiler-optimization - Analyze and optimize compiler-generated performance
Analyzes compiler versions, architecture flags, LTO/PGO, code generation, binary evidence, and source constraints to produce validated optimization candidates.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze compiler evidence
- Assess architecture flags
- Evaluate LTO and PGO
- Inspect generated machine code
- Analyze A+K compilation
- Generate candidate actions
- Verify binary equivalence
Inputs
- Performance profiling data
- Build logs and commands
- Compiler and linker versions
- CPU architecture features
- Binary disassembly
- Baseline binary identity
- Source change boundaries
- Benchmark workloads
- Evidence snapshot directory
- Environment backup directory
Outputs
- Optimization analysis findings
- Candidate optimization actions
- Required evidence list
- Verification commands
- Rollback paths
- Environment snapshot files
- Benchmark comparison results
Requirements
- Linux shell environment
- Bash tooling
- Compiler and build toolchains
- Perf or PMU access for profiling
- Source and binary inspection tools
- Ascend and CANN stack for A+K scenarios
- BiSheng compiler for applicable A+K builds
