repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
sdata-opaque-type.ll
blob
64afefe467dc5914bdaf2827242d06221c65d83f
1
; RUN: llc -march=hexagon -O2 < %s
2
; REQUIRES: asserts
3
; This should compile cleanly.
4
5
target triple = "hexagon"
6
7
%s.0 = type opaque
8
9
@g0 = external global %s.0
10
11
; Function Attrs: nounwind
12
define ptr @f0() #0 {
13
b0:
14
ret ptr @g0
15
}
16
17
attributes #0 = { nounwind }