summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/sdata-opaque-type.ll
blob: d26bbc06296d8d204549b668a6f378bdb54e6509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -march=hexagon -O2 < %s
; REQUIRES: asserts
; This should compile cleanly.

target triple = "hexagon"

%s.0 = type opaque

@g0 = external global %s.0

; Function Attrs: nounwind
define %s.0* @f0() #0 {
b0:
  ret %s.0* @g0
}

attributes #0 = { nounwind }
OpenPOWER on IntegriCloud