https://github.com/nikic approved this pull request. LGTM TTI dependency for Scalarizer should be doubly fine: It's not a canonicalization pass, and the query is limited to target intrinsic only. https://github.com/llvm/llvm-project/pull/108776