diff options
author | Valentin Clement <clementval@gmail.com> | 2022-06-23 14:57:24 +0200 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2022-06-23 14:57:58 +0200 |
commit | ab89c132b547951945788fc2a0969cf64b0df4cd (patch) | |
tree | 0766cf4e20c5b42dd2087beb7a6511717ff63351 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | da34966a5a5fea47e3381707f26b3c24a6973569 (diff) | |
download | llvm-ab89c132b547951945788fc2a0969cf64b0df4cd.zip llvm-ab89c132b547951945788fc2a0969cf64b0df4cd.tar.gz llvm-ab89c132b547951945788fc2a0969cf64b0df4cd.tar.bz2 |
[flang] Add lowering TODO for separate module procedures
MODULE FUNCTION and MODULE SUBROUTINE currently cause lowering crash:
"symbol is not mapped to any IR value" because special care is needed
to handle their interface.
Add a TODO for now.
Example of program that crashed and will hit the TODO:
```
module mod
interface
module subroutine sub
end subroutine
end interface
contains
module subroutine sub
x = 42
end subroutine
end module
```
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D128412
Co-authored-by: Jean Perier <jperier@nvidia.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions