Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / Hexagon / vscatter-slot.s
blob1a8ff319e0c3301cafc991d676fa4a72437ad534
1 # RUN: llvm-mc -triple=hexagon -mv65 -mhvx -filetype=asm < %s | FileCheck %s
3 # Test that a slot error is not reported for a packet with a load and a
4 # vscatter.
6 # CHECK: vscatter(r0,m0,v0.h).h = v1
8 v1=vmem(r1+#0)
9 vscatter(r0,m0,v0.h).h=v1
11 # CHECK: vscatter(r2,m0,v1:0.w).h += v2
13 v1=vmem(r3+#0)
14 vscatter(r2,m0,v1:0.w).h+=v2
16 # CHECK: vmem(r4+#0):scatter_release
18 v1=vmem(r5+#0)
19 vmem(r4+#0):scatter_release
21 # CHECK: vmem(r4+#0):scatter_release
23 v1=vmem(r5+#0)
24 vmem(r4+#0):scatter_release