1*67d3ef74SVyacheslav Levytskyy; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s 2b8e1544bSIlia Diachkov 34bd9d98bSAndrey Tretyakov;; TODO: Add test for matrix. But how are they represented in LLVM IR? 4b8e1544bSIlia Diachkov 5b8e1544bSIlia Diachkovdefine <4 x i8> @getVectorConstant() { 6b8e1544bSIlia Diachkov ret <4 x i8> <i8 1, i8 1, i8 1, i8 1> 7b8e1544bSIlia Diachkov} 8b8e1544bSIlia Diachkov 9b8e1544bSIlia Diachkov; CHECK-DAG: [[I8:%.+]] = OpTypeInt 8 10b8e1544bSIlia Diachkov; CHECK-DAG: [[VECTOR:%.+]] = OpTypeVector [[I8]] 11b8e1544bSIlia Diachkov; CHECK-DAG: [[CST_I8:%.+]] = OpConstant [[I8]] 1 12b8e1544bSIlia Diachkov; CHECK-DAG: [[CST_VECTOR:%.+]] = OpConstantComposite [[VECTOR]] [[CST_I8]] [[CST_I8]] [[CST_I8]] [[CST_I8]] 13