Blog91.6K views4,830 votes0 replies694 following
Stop Hardcoding Instruction Costs: Using LLVM TargetTransformInfo
Stop hardcoding instruction weights in your LLVM passes. Learn how to use TargetTransformInfo (TTI) to make architecture-aware optimization decisions that scale across different CPUs.