1 ;; uint8 foo(uint8 c, unsigned i) {
6 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
8 ; CHECK: %[[#TypeInt:]] = OpTypeInt 32
9 ; CHECK: %[[#TypeVector:]] = OpTypeVector %[[#TypeInt]] 8
10 ; CHECK: %[[#]] = OpVectorInsertDynamic %[[#TypeVector]]
12 define spir_func <8 x i32> @foo(<8 x i32> %c, i32 %i) local_unnamed_addr {
14 %vecins = insertelement <8 x i32> %c, i32 42, i32 %i