broxigarchen wrote: It seems we don't have any lit test that generates a COPY with an inline constant. I am not sure if this is even needed, post it for review and see if there is comment on this. https://github.com/llvm/llvm-project/pull/150317