ahatanak added a comment. Could you elaborate on the motivation for this change? I was wondering why clang (CodeGen) needed the help of a command line option to decide whether vec3 should be converted to vec4. Can it just preserve vec3 when the architecture is spir? https://reviews.llvm.org/D30810