llvm-project
0cac3e38 - [CodeGen][TII] Delete analyzeSelect hook (#175828)

Commit
5 days ago
[CodeGen][TII] Delete analyzeSelect hook (#175828) The only caller of this function (`PeepholeOptimizer::optimizeSelect`) did not use most of the parameters, was broadly equivalent to `MI->isSelect()`, and the `optimizeSelect` hook can return `nullptr` anyway. Update `optimizeSelect` to return `nullptr` by default rather than asserting when not implemented.
Author
Parents
Loading