[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Hexagon / vgather-new.s
blob679aaefa72eaf92d80658392954535e83ffb230b
1 // RUN: llvm-mc -arch=hexagon -mcpu=hexagonv65 -mhvx -show-encoding %s -o - | FileCheck %s
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]
9 if (q0) vtmp.h = vgather(r5,m0,v31.h).h
10 vmem(r1+#0) = vtmp.new