1// RUN: llvm-mc -arch=hexagon -mcpu=hexagonv65 -mhvx -show-encoding %s -o - | FileCheck %s 2 3// TypeCVI_FIRST was set incorrectly, causing vgather not to be considered 4// a vector instruction. This resulted in an incorrect encoding of the vtmp.new 5// operand in the store. 6// CHECK: encoding: [0x1f,0x45,0x05,0x2f,0x22,0xc0,0x21,0x28] 7 8{ 9 if (q0) vtmp.h = vgather(r5,m0,v31.h).h 10 vmem(r1+#0) = vtmp.new 11} 12 13