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
[ConstraintElim] Add support for decomposing gep nuw (#118639)
[llvm-project.git]
/
flang
/
test
/
Lower
/
target_definition.f90
blob
88b31e4598d43c5d18df06787212739d187bd8a0
1
! RUN: bbc -emit-fir %s -o - | FileCheck %s
2
3
! Test TARGET attributes on a definition of a global symbol.
4
! CHECK: fir.global @_QMtarget_modEx target : f32 {
5
! CHECK: %[[init:.*]] = fir.zero_bits f32
6
! CHECK: fir.has_value %[[init]] : f32
7
! CHECK: }
8
9
module
target_mod
10
real
,
target
::
x
11
end module
target_mod