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.
139139### Globals
140140
141141Global 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
143143level. Globals are MLIR symbols and are identified by their name.
144144
145145Since functions need to be isolated-from-above, i.e. values defined outside the
146146function 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
148148locally define a value containing the _ address_ of a global. The actual value
149149can then be loaded from that pointer, or a new value can be stored into it if
150150the 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