[all-commits] [llvm/llvm-project] 591e3e: [flang] Make EndProgramStmt a NOP + early return
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Feb 1 06:55:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 591e3e6207894ebaee1e47a82fcfb3b246459f76
https://github.com/llvm/llvm-project/commit/591e3e6207894ebaee1e47a82fcfb3b246459f76
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/derived-type-finalization.f90
Log Message:
-----------
[flang] Make EndProgramStmt a NOP + early return
Fix done in D143055 can be simpler by making EndProgramStmt a NOP
and dealing with the exit in `endNewFunction` in a centralize way.
Also add finalization when there is an early exit in the main
program.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D143065
More information about the All-commits
mailing list