https://github.com/fhahn commented: That should be fine, assuming the cost model returns reasonable costs for them. Would be good to check if we have tests for their cost (possibly just as cost-model tests) https://github.com/llvm/llvm-project/pull/145545