pekka.jaaskelainen added inline comments. ================ Comment at: test/CodeGenOpenCL/spir_version.cl:15 @@ +14,2 @@ +// CL20: !opencl.ocl.version = !{[[SPIR:![0-9]+]]} +// CL20: [[SPIR]] = !{i32 2, i32 0} ---------------- Can you test 'spir64' too? http://reviews.llvm.org/D17596