summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/dualstore.ll
blob: 7318fe54ba1d6de812c73f00ddca9aaa5a74d3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -march=hexagon -filetype=obj %s -o - | llvm-objdump -d - | FileCheck %s
; Check that we generate dual stores in one packet in V4

; CHECK: 00 40 9f 52 529f4000
; CHECK: 10 10 00 f0 f0001010

define void @foo(ptr %a, ptr %b) {
  store i32 0, ptr %a
  store i32 0, ptr %b
  ret void
}