================ ---------------- davemgreen wrote: It would get the cost-modelling wrong to exclude it that late. It is better to do the check in the match if we can. https://github.com/llvm/llvm-project/pull/184063