Same as fir.no_reassoc but accepts hlfir.expr type. It is needed because
FIR operation can only produce FIR types, and I do not want to change
that for now.
Depends on D139519
Paths
| Differential D139520
[flang] add hlfir.no_reassoc definition ClosedPublic Authored by jeanPerier on Dec 7 2022, 2:56 AM.
Details
Summary Same as fir.no_reassoc but accepts hlfir.expr type. It is needed because Depends on D139519
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2022, 2:58 AM jeanPerier added a child revision: D139523: [flang] Lower parentheses with hlfir.as_expr and hlfir.no_reassoc.Dec 7 2022, 3:14 AM This revision was landed with ongoing or failed builds.Dec 7 2022, 5:45 AM Closed by commit rG80e5ff775f8b: [flang] add hlfir.no_reassoc definition (authored by jeanPerier). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions I wonder if we want to keep https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md in sync with HLFIROps.td. It may be okay to skip it, if it is a temporary solution.
Revision Contents
Diff 480825 flang/include/flang/Optimizer/HLFIR/HLFIROps.h
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
flang/test/HLFIR/no_reassoc.fir
|