File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,12 +139,12 @@ will be reevaluated after considering composite constants.
139
139
### Globals
140
140
141
141
Global variables are also defined using a special operation,
142
- [ ` llvm.mlir.global ` ] ( #llvmmlirglobal-mlirllvmglobalop ) , located at the module
142
+ [ ` llvm.mlir.global ` ] ( #llvmmlirglobal-llvmglobalop ) , located at the module
143
143
level. Globals are MLIR symbols and are identified by their name.
144
144
145
145
Since functions need to be isolated-from-above, i.e. values defined outside the
146
146
function cannot be directly used inside the function, an additional operation,
147
- [ ` llvm.mlir.addressof ` ] ( #llvmmliraddressof-mlirllvmaddressofop ) , is provided to
147
+ [ ` llvm.mlir.addressof ` ] ( #llvmmliraddressof-llvmaddressofop ) , is provided to
148
148
locally define a value containing the _ address_ of a global. The actual value
149
149
can then be loaded from that pointer, or a new value can be stored into it if
150
150
the global is not declared constant. This is similar to LLVM IR where globals
You can’t perform that action at this time.
0 commit comments