Skip to content

Commit 73f1753

Browse files
[Flang][Doc] Fix trivial issues in HighLevelFIR.md (#72278)
Fixes section depth and removes annotation of source as HLFIR since this is not currently understood by the lexer. Fixing these issues help reduce warnings in the documentation CI for LLVM.
1 parent bc38da5 commit 73f1753

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/docs/HighLevelFIR.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The core impact on lowering will be:
4141
relevant.
4242

4343

44-
## Variable and Expression value concepts in HLFIR
44+
# Variable and Expression value concepts in HLFIR
4545

4646
## Strengthening the variable concept
4747

@@ -1035,7 +1035,7 @@ HLFIR array assignment lowering pass:
10351035
associated variables that are neither target nor pointers.
10361036
- Lower to assignment to loop:
10371037

1038-
```HFLIR
1038+
```
10391039
func.func @_QPfoo(%arg0: !fir.box<!fir.array<?xf32>>, %arg1: !fir.box<!fir.array<?xf32>>) {
10401040
%a = hlfir.declare %arg0 {fir.def = "_QPfooEa"} : !fir.box<!fir.array<?xf32>>, !fir.box<!fir.array<?xf32>>
10411041
%b = hlfir.declare %arg1 {fir.def = "_QPfooEb"} : !fir.box<!fir.array<?xf32>>, !fir.box<!fir.array<?xf32>>
@@ -1320,7 +1320,7 @@ Lowering of vector subscripted entities would happen as follow:
13201320
input IO) by inlining the elemental body into the created loops, and
13211321
identifying the hlfir.designate producing the result.
13221322

1323-
```HFLFIR
1323+
```
13241324
func.func @_QPfoo(%arg0: !fir.ref<!fir.array<?xf32>>, %arg1: !fir.ref<!fir.array<?xf32>>, %arg2: !fir.box<<!fir.array<?xi32>>) {
13251325
%a = hlfir.declare %arg0 {fir.def = "_QPfooEa"} : !fir.box<!fir.array<?xf32>>, !fir.ref<!fir.array<?xf32>>
13261326
%b = hlfir.declare %arg1 {fir.def = "_QPfooEb"} : !fir.box<!fir.array<?xf32>>, !fir.ref<!fir.array<?xf32>>

0 commit comments

Comments
 (0)