We will use hlfir.get_length to lower inquiries of char length
applied to hlfir.expr character values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154560
[flang][hlfir] Added hlfir.get_length to inquire char length from hlfir.expr. ClosedPublic Authored by vzakhari on Jul 5 2023, 7:59 PM.
Details Summary We will use hlfir.get_length to lower inquiries of char length
Diff Detail
Event Timelinevzakhari added a child revision: D154561: [flang][hlfir] Codegen for hlfir.get_length..Jul 5 2023, 8:00 PM This revision is now accepted and ready to land.Jul 6 2023, 12:02 AM Closed by commit rGb77a06084ae7: [flang][hlfir] Added hlfir.get_length to inquire char length from hlfir.expr. (authored by vzakhari). · Explain WhyJul 6 2023, 1:22 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537851 flang/include/flang/Optimizer/HLFIR/HLFIRDialect.h
flang/include/flang/Optimizer/HLFIR/HLFIROpBase.td
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
flang/lib/Optimizer/HLFIR/IR/HLFIRDialect.cpp
flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
flang/test/HLFIR/get_length.fir
flang/test/HLFIR/invalid.fir
|