davemgreen wrote: Changed to use the splat to detect constants - this will make the difference that zeroinitializer is now treated as a OK_UniformConstantValue too. That can be changed if necessary. https://github.com/llvm/llvm-project/pull/122469