Hardcode84 wrote: > Wouldn't this be a canonicalization? Can be done with a folder even. Canonicalizations shouldn't be *required* part of the lowering. https://github.com/llvm/llvm-project/pull/188041