Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / Hexagon / vgather-new.s
blob83d5662fc13b1eb5b5834c2599d2b666d9eabecd
1 // RUN: llvm-mc -triple=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