kosarev wrote: > It seems we don't have any lit test that generates a COPY with an inline constant. If this is also the case downstream, including at the revision where this logic was brought in, it should be removed there. https://github.com/llvm/llvm-project/pull/150317